X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fchamp%2FChampGraph.java;h=2762e43155573c130fb8ecf20e1f61b014956dae;hb=9fc28cff11a4b570618c0f533ce9de6209a5dd0c;hp=2ec220946fa424317ebf48a558245b8218d5634d;hpb=90f0306e32e6a1adcbb68c718d2f6e8a97d0be0d;p=aai%2Fchamp.git 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: