Add new cds-access-api proxies
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / SkipTransactionsResponseProxyV1.java
index a1bf23de6da7686dc7bf3ad2e3f18140aafc4acc..7e08536f6019b59556f2edced0ca1915e7664308 100644 (file)
@@ -7,15 +7,13 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import java.io.Serial;
-import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
-
 /**
  * Externalizable proxy for use with {@link SkipTransactionsResponse}. It implements the initial (Phosphorus SR1)
  * serialization format.
  */
-final class SkipTransactionsResponseProxyV1 extends AbstractTransactionSuccessProxy<SkipTransactionsResponse> {
-    @Serial
+final class SkipTransactionsResponseProxyV1 extends AbstractTransactionSuccessProxy<SkipTransactionsResponse>
+        implements SkipTransactionsResponse.SerialForm {
+    @java.io.Serial
     private static final long serialVersionUID = 1L;
 
     // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
@@ -28,9 +26,4 @@ final class SkipTransactionsResponseProxyV1 extends AbstractTransactionSuccessPr
     SkipTransactionsResponseProxyV1(final SkipTransactionsResponse success) {
         super(success);
     }
-
-    @Override
-    protected SkipTransactionsResponse createSuccess(final TransactionIdentifier target, final long sequence) {
-        return new SkipTransactionsResponse(target, sequence);
-    }
 }