Remove EmptyExternalizableProxy
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / base / messages / TimeoutNow.java
index be3b0b5ffd135ba10747c36c1ce43427aeac4b65..2b7684481955110bab875403db0447554583cc7e 100644 (file)
@@ -26,20 +26,8 @@ public final class TimeoutNow implements Serializable, ControlMessage {
     }
 
     @java.io.Serial
+    @SuppressWarnings("static-method")
     private Object readResolve() {
         return INSTANCE;
     }
-
-    @Deprecated(since = "7.0.0", forRemoval = true)
-    private static class Proxy extends EmptyExternalizableProxy {
-        @java.io.Serial
-        private static final long serialVersionUID = 1L;
-
-        // checkstyle flags the public modifier as redundant which really doesn't make sense since it clearly isn't
-        // redundant. It is explicitly needed for Java serialization to be able to create instances via reflection.
-        @SuppressWarnings("checkstyle:RedundantModifier")
-        public Proxy() {
-            super(INSTANCE);
-        }
-    }
 }