Switch identifiers to new proxies
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / concepts / FrontendType.java
index 3a25df7dc48447136740fda5624404409863270d..1ccdd69a07481557b4f99b2c1ee83fc51ea57d8a 100644 (file)
@@ -56,6 +56,7 @@ public final class FrontendType implements Comparable<FrontendType>, WritableIde
         }
     }
 
+    @Deprecated(since = "7.0.0", forRemoval = true)
     private static final class Proxy implements SerialForm {
         @java.io.Serial
         private static final long serialVersionUID = 1L;
@@ -179,7 +180,7 @@ public final class FrontendType implements Comparable<FrontendType>, WritableIde
     }
 
     @java.io.Serial
-    Object writeReplace() {
-        return new Proxy(this);
+    private Object writeReplace() {
+        return new FT(this);
     }
 }