SONAR TD - *ToNotificationTransformer private constr. 48/42148/2
authorTomas Slusny <tomas.slusny@pantheon.sk>
Wed, 20 Jul 2016 12:27:55 +0000 (14:27 +0200)
committerTomas Slusny <tomas.slusny@pantheon.sk>
Fri, 5 Aug 2016 10:45:04 +0000 (12:45 +0200)
- Added private constructors to ToNotificationTransformer classes

Change-Id: If64db7a5922ffdc613685c56d077ada7d1c38c7f
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/compatibility/FlowStatisticsToNotificationTransformer.java
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/compatibility/GroupStatisticsToNotificationTransformer.java
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/compatibility/MeterStatisticsToNotificationTransformer.java
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/compatibility/NodeConnectorStatisticsToNotificationTransformer.java
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/compatibility/QueueStatisticsToNotificationTransformer.java

index 3b4605959d78766195a3d083855f5ac4357c3906..0c8089f4bd2dd936cb4197577899fb3a2dba7507 100644 (file)
@@ -29,6 +29,11 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731
  * pulled out flow stats to notification transformation
  */
 public class FlowStatisticsToNotificationTransformer {
+
+    private FlowStatisticsToNotificationTransformer() {
+        // Hide implicit constructor
+    }
+
     /**
      * @param mpResult      raw multipart response from device
      * @param deviceInfo   device state
index 39bbfeb6d40193ec13ee6ddfc4cb47bd73153730..a0a842a12060e6aab11b1996279f6522faf74564 100644 (file)
@@ -26,6 +26,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731
  * pulled out group stats to notification transformation
  */
 public class GroupStatisticsToNotificationTransformer {
+    private GroupStatisticsToNotificationTransformer() {
+        // Hide implicit constructor
+    }
     /**
      * @param mpReplyList   raw multipart response from device
      * @param deviceInfo   device state
index 375fd6687274dbf033365bc1e3423ae3a1d1591a..ed84bf9355d0d90766113112645388d2ca0973eb 100644 (file)
@@ -28,6 +28,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731
  */
 public class MeterStatisticsToNotificationTransformer {
 
+    private MeterStatisticsToNotificationTransformer() {
+        // Hide implicit constructor
+    }
     /**
      * @param mpReplyList   raw multipart response from device
      * @param deviceInfo   device state
index e70d64bbc9c7d1c8698174b1929419b33efbec3a..d0eb39ce5ec9c99b943a5279162bf98fd1d2df09 100644 (file)
@@ -34,6 +34,10 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.port.statistics.rev131214.n
  */
 public class NodeConnectorStatisticsToNotificationTransformer {
 
+    private NodeConnectorStatisticsToNotificationTransformer() {
+        // Hide implicit constructor
+    }
+
     /**
      * @param mpReplyList   raw multipart response from device
      * @param deviceInfo    device basic info
index 4fcb4afbd098798a0a95b03e3acbff568f1e5d96..1ba12e9d1cea5b63f31c60c15ab9bb474efb1497 100644 (file)
@@ -32,6 +32,10 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.queue.statistics.rev131216.
  */
 public class QueueStatisticsToNotificationTransformer {
 
+    private QueueStatisticsToNotificationTransformer() {
+        // Hide implicit constructor
+    }
+
     /**
      * @param mpReplyList   raw multipart response from device
      * @param deviceInfo   device state