aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/onap/aai/champ/ChampGraph.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/champ/ChampGraph.java b/src/main/java/org/onap/aai/champ/ChampGraph.java
index 2ec2209..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: