Merge "Replace the type specification in constructor call"
authorJames Forsyth <jf2512@att.com>
Mon, 8 Jan 2018 13:59:16 +0000 (13:59 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 8 Jan 2018 13:59:16 +0000 (13:59 +0000)
1  2 
aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java

@@@ -329,10 -329,10 +329,10 @@@ public class ModelVersionTransformer ex
  
        }
  
 -      private Map<String, String> getCurrentModelsFromGraph(HttpHeaders headers, String transactionId, UriInfo info) throws NoEdgeRuleFoundException, AAIException {
 +      private Map<String, String> getCurrentModelsFromGraph(HttpHeaders headers, String transactionId, UriInfo info) throws  AAIException {
  
                TransactionalGraphEngine dbEngine = null;
-               Map<String, String> modelVerModelMap = new HashMap<String,String>() ;
+               Map<String, String> modelVerModelMap = new HashMap<>() ;
                try {
  
                        Version version = AAIProperties.LATEST;