aboutsummaryrefslogtreecommitdiffstats
path: root/restconf-client/provider/src/main/java/org/onap
diff options
context:
space:
mode:
authorjanani b <janani.b@huawei.com>2018-10-08 19:50:02 +0530
committerJanani B <janani.b@huawei.com>2018-10-09 07:24:30 +0000
commit792a8cc436079f9667308a43786de015be0d1513 (patch)
tree67b5e8014433070efbe587e8aa93fa6687d2f9ab /restconf-client/provider/src/main/java/org/onap
parentda54fc49d3f16d7028a42cd90ad1500973814790 (diff)
Issue fix
Factory pattern constructor issue fix Issue-ID: CCSDK-614 Change-Id: I3aee79894cfddd47273289878e5ba079926b8054 Signed-off-by: janani b <janani.b@huawei.com>
Diffstat (limited to 'restconf-client/provider/src/main/java/org/onap')
-rw-r--r--restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfListenerFactory.java6
-rw-r--r--restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfSerializerFactory.java6
2 files changed, 12 insertions, 0 deletions
diff --git a/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfListenerFactory.java b/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfListenerFactory.java
index e10a085a..06a811e1 100644
--- a/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfListenerFactory.java
+++ b/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfListenerFactory.java
@@ -32,6 +32,12 @@ import static org.onap.ccsdk.sli.plugins.yangserializers.dfserializer.DfSerializ
public final class DfListenerFactory {
/**
+ * Creates a new DfListenerFactory.
+ */
+ private DfListenerFactory() {
+ }
+
+ /**
* Returns the instance of the data format listener factory.
*
* @return instance of the data format listener factory
diff --git a/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfSerializerFactory.java b/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfSerializerFactory.java
index bd0285e8..4d95235e 100644
--- a/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfSerializerFactory.java
+++ b/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/DfSerializerFactory.java
@@ -32,6 +32,12 @@ import static org.onap.ccsdk.sli.plugins.yangserializers.dfserializer.DfSerializ
public final class DfSerializerFactory {
/**
+ * Creates a new DfSerializerFactory.
+ */
+ private DfSerializerFactory() {
+ }
+
+ /**
* Returns the instance of the data format serializer factory.
*
* @return instance of the data format serializer factory