Switch identifiers to new proxies
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / concepts / FrontendIdentifier.java
index 933aa16c79cbea78ba87f7120f02b9ecebc2dd53..10024a206e9d7ff7d290b7aeb8804b8ce5ca5f05 100644 (file)
@@ -45,6 +45,7 @@ public final class FrontendIdentifier implements WritableIdentifier {
         }
     }
 
+    @Deprecated(since = "7.0.0", forRemoval = true)
     private static final class Proxy implements SerialForm {
         @java.io.Serial
         private static final long serialVersionUID = 1L;
@@ -135,6 +136,6 @@ public final class FrontendIdentifier implements WritableIdentifier {
 
     @java.io.Serial
     private Object writeReplace() {
-        return new Proxy(this);
+        return new FI(this);
     }
 }