summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/champ/ChampGraph.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/onap/aai/champ/ChampGraph.java b/src/main/java/org/onap/aai/champ/ChampGraph.java
index c70294b..2762e43 100644
--- a/src/main/java/org/onap/aai/champ/ChampGraph.java
+++ b/src/main/java/org/onap/aai/champ/ChampGraph.java
@@ -59,7 +59,10 @@ public interface ChampGraph {
* If finer control is needed, you should consider accessing an implementation's
* constructors/builders.
*/
- public static class Factory {
+ public static final class Factory {
+ private Factory(){
+ //not called
+ }
public static ChampGraph newInstance(ChampGraph.Type type, String graphName) {
switch (type) {
case IN_MEMORY:
@@ -70,7 +73,6 @@ public interface ChampGraph {
.build();
/*
case DSE: //See above, DSE still in beta
- return new DseChampGraphImpl.Builder("localhost").build();
*/
default:
throw new RuntimeException("Unknown type of ChampAPI implementation");