aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2019-08-15 13:44:03 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-15 13:44:03 +0000
commita55cf0fe1999e5aeccb535a29f3cec496afb1ef7 (patch)
tree544c382350c4af0d2aad8b8b3ed805e63d93b24e
parente9f19eaf902ff2c1cdc02a5f90aa06fd582848a6 (diff)
parent5f880af51082e351d1cb97a6397ebfce5b282a0b (diff)
Merge "Sonar Fix - Type Inference"
-rw-r--r--champ-lib/champ-core/src/main/java/org/onap/aai/champcore/graph/impl/InMemoryChampGraphImpl.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/graph/impl/InMemoryChampGraphImpl.java b/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/graph/impl/InMemoryChampGraphImpl.java
index 74f678b..84df1d1 100644
--- a/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/graph/impl/InMemoryChampGraphImpl.java
+++ b/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/graph/impl/InMemoryChampGraphImpl.java
@@ -2,8 +2,9 @@
* ============LICENSE_START==========================================
* org.onap.aai
* ===================================================================
- * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
- * Copyright © 2017-2018 Amdocs
+ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017-2018 Amdocs
+ * Modifications Copyright (C) 2019 IBM
* ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,8 +65,8 @@ public final class InMemoryChampGraphImpl extends AbstractTinkerpopChampGraph {
super(builder.graphConfiguration);
this.graph = TinkerGraph.open();
- this.objectIndices = new ConcurrentHashMap<String, ChampObjectIndex> ();
- this.relationshipIndices = new ConcurrentHashMap<String, ChampRelationshipIndex> ();
+ this.objectIndices = new ConcurrentHashMap<>();
+ this.relationshipIndices = new ConcurrentHashMap<>();
this.schemaEnforcer = builder.schemaEnforcer;
}