We have a number of fields/methods which should be marked with @Serial,
add another pass on them.
Change-Id: Ie08d6e718980e4e3acb148226760ad75ef82566e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import org.opendaylight.yangtools.concepts.Identifier;
public abstract class IdentifiablePayload<T extends Identifier> extends Payload implements Identifiable<T> {
+ @java.io.Serial
private static final long serialVersionUID = 1L;
-
}
* Similarly when state needs to be applied to the derived RaftActor it will be passed an instance of the Payload class.
*/
public abstract class Payload implements Serializable {
+ @java.io.Serial
private static final long serialVersionUID = 1L;
/**
*
* @return Serialization proxy
*/
+ @java.io.Serial
protected abstract Object writeReplace();
}
}
static class TestNonPersistentPayload extends Payload {
+ @java.io.Serial
private static final long serialVersionUID = 1L;
@Override
}
static class TestPersistentPayload extends TestNonPersistentPayload implements PersistentPayload {
+ @java.io.Serial
private static final long serialVersionUID = 1L;
-
}
}