diff options
author | Wiktor Garbarek <wiktor.garbarek@nokia.com> | 2018-06-26 16:04:54 +0200 |
---|---|---|
committer | Wiktor Garbarek <wiktor.garbarek@nokia.com> | 2018-06-26 16:05:49 +0200 |
commit | 478ef71303636345cd115434a1427730311ad957 (patch) | |
tree | 7f486e2e91e482d27a376d38a6910658a0e9022a | |
parent | 0edaac90429d84075ee01404166f29c666b3d107 (diff) |
Refactor of NoOpTinkerPopTransaction
Removed unused logger; added method annotation
Change-Id: Ie1bc4754042189cf231e08445c53f34e8efb06ad
Issue-ID: AAI-1247
Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
-rw-r--r-- | champ-lib/champ-core/src/main/java/org/onap/aai/champcore/NoOpTinkerPopTransaction.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/NoOpTinkerPopTransaction.java b/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/NoOpTinkerPopTransaction.java index 22a3f9b..1f19087 100644 --- a/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/NoOpTinkerPopTransaction.java +++ b/champ-lib/champ-core/src/main/java/org/onap/aai/champcore/NoOpTinkerPopTransaction.java @@ -22,21 +22,18 @@ package org.onap.aai.champcore; import org.apache.tinkerpop.gremlin.structure.Graph; import org.onap.aai.champcore.graph.impl.TinkerpopTransaction; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; public class NoOpTinkerPopTransaction extends TinkerpopTransaction { protected Graph graph; - - private static final Logger LOGGER = LoggerFactory.getLogger(NoOpTinkerPopTransaction.class); - + public NoOpTinkerPopTransaction(Graph aGraphInstance) { this.graph = aGraphInstance; } - + + @Override public Graph getGraphInstance() { return graph; } |