X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=champ-lib%2Fchamp-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fchampcore%2Fgraph%2Fimpl%2FInMemoryChampGraphImpl.java;fp=champ-lib%2Fchamp-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fchampcore%2Fgraph%2Fimpl%2FInMemoryChampGraphImpl.java;h=84df1d1213e76408f0747444665b6dc121bb1ba8;hb=5f880af51082e351d1cb97a6397ebfce5b282a0b;hp=74f678b4cfcb558c8a69297fd763a9f6e00d7907;hpb=4b10d453777c4d1a984eb56e029ad2a00c490e72;p=aai%2Fchamp.git 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 (); - this.relationshipIndices = new ConcurrentHashMap (); + this.objectIndices = new ConcurrentHashMap<>(); + this.relationshipIndices = new ConcurrentHashMap<>(); this.schemaEnforcer = builder.schemaEnforcer; }