Update to use proper syntax generic instanstiation 71/1471/1
authorVenkata Harish K Kajur <vk250x@att.com>
Mon, 27 Feb 2017 14:56:43 +0000 (14:56 +0000)
committerVenkata Harish K Kajur <vk250x@att.com>
Mon, 27 Feb 2017 14:56:48 +0000 (14:56 +0000)
Change-Id: I76ce6cf7fb6ade87beac8718c1ee54246eba3adb
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
ajsc-aai/src/main/java/org/openecomp/aai/dbgen/DbMeth.java
ajsc-aai/src/main/java/org/openecomp/aai/dbgen/DbSearchWithTags.java
ajsc-aai/src/main/java/org/openecomp/aai/dbgen/UpdateEdgeTags.java

index 978cb57..0bacf5d 100644 (file)
@@ -2233,7 +2233,7 @@ public class DbMeth{
                        nodeTypeFilter = true;
                }  
                
-               ArrayList <String> excludeVidList = new <String> ArrayList ();
+               ArrayList <String> excludeVidList = new ArrayList<String>();
                if( DbEdgeRules.CanBeRecursiveNT.containsKey(startNodeNT) && excludeRecurComingIn ){
                        // If we're starting on a nodeType that supports recursion, then find any connected
                        // nodes that are coming from IN edges so we can exclude them later.
index 5ab8134..c8de403 100644 (file)
@@ -406,7 +406,7 @@ public class DbSearchWithTags{
                  Iterable <?> verts = thisLevelVertex.query().direction(Direction.OUT).has(edgeTag,true).vertices();
                  Iterator <?> vertI = verts.iterator();
                  
-                 ArrayList <TitanVertex> nodeList = new <TitanVertex> ArrayList ();
+                 ArrayList <TitanVertex> nodeList = new ArrayList<TitanVertex>();
                  while( vertI != null && vertI.hasNext() ){
                  TitanVertex tmpVert = (TitanVertex) vertI.next();
                  nodeList.add(tmpVert);
@@ -522,7 +522,7 @@ public class DbSearchWithTags{
                  Iterator <?> vertI = verts.iterator();
                  
                  //int levelNodeCount = 0;
-                 ArrayList <TitanVertex> nodeList = new <TitanVertex> ArrayList ();
+                 ArrayList <TitanVertex> nodeList = new ArrayList<TitanVertex>();
                  while( vertI != null && vertI.hasNext() ){
                          TitanVertex tmpVert = (TitanVertex) vertI.next();
                          String nodeType = tmpVert.<String>property("aai-node-type").orElse(null);
index a9090ef..51928e0 100644 (file)
@@ -68,7 +68,7 @@ public class UpdateEdgeTags {
                HashMap <String,Object> edgeRuleHash = new HashMap <String,Object>();
                HashMap <String,Object> edgeRulesFullHash = new HashMap <String,Object>();
                HashMap <String,Object> edgeRuleLabelToKeyHash = new HashMap <String,Object>();
-               ArrayList <String> labelMapsToMultipleKeys = new <String> ArrayList ();
+               ArrayList <String> labelMapsToMultipleKeys = new ArrayList<String>();
                
        int tagCount = DbEdgeRules.EdgeInfoMap.size();
                // Loop through all the edge-rules make sure they look right and