import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
+import java.io.Serial;
import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
/**
* @author Robert Varga
*/
final class ExistsTransactionSuccessProxyV1 extends AbstractTransactionSuccessProxy<ExistsTransactionSuccess> {
+ @Serial
private static final long serialVersionUID = 1L;
+
private boolean exists;
+ // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
+ // be able to create instances via reflection.
+ @SuppressWarnings("checkstyle:RedundantModifier")
public ExistsTransactionSuccessProxyV1() {
// For Externalizable
}
ExistsTransactionSuccessProxyV1(final ExistsTransactionSuccess request) {
super(request);
- this.exists = request.getExists();
+ exists = request.getExists();
}
@Override