Fix CS warnings in cds-access-api and enable enforcement
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / ExistsTransactionSuccessProxyV1.java
index 538c1ffa7fbee1c4a9298ed8aa0e36002c151169..24de17656ddb48cfaeb24b0e8026f13b40d6d76f 100644 (file)
@@ -22,6 +22,9 @@ final class ExistsTransactionSuccessProxyV1 extends AbstractTransactionSuccessPr
     private static final long serialVersionUID = 1L;
     private boolean exists;
 
     private static final long serialVersionUID = 1L;
     private boolean exists;
 
+    // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
+    // be able to create instances via reflection.
+    @SuppressWarnings("checkstyle:RedundantModifier")
     public ExistsTransactionSuccessProxyV1() {
         // For Externalizable
     }
     public ExistsTransactionSuccessProxyV1() {
         // For Externalizable
     }