Remove FollowerIdentifier.Proxy constructor
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / behaviors / FollowerIdentifier.java
index d961f84b0c73b1805427fd692798dd5f56afdeb1..bdf7a3f9d2250cad8074566c487de955c1f625a9 100644 (file)
@@ -44,13 +44,9 @@ class FollowerIdentifier extends AbstractStringIdentifier<FollowerIdentifier> {
         public Proxy() {
         }
 
-        Proxy(final FollowerIdentifier identifier) {
-            this.identifier = identifier;
-        }
-
         @Override
-        public void writeExternal(final ObjectOutput out) throws IOException {
-            out.writeObject(identifier.getValue());
+        public void writeExternal(final ObjectOutput out) {
+            throw new UnsupportedOperationException();
         }
 
         @Override