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>
(cherry picked from commit
c1bae57105d04c2d13fcf6c0ca654177743b51f8)
import org.opendaylight.yangtools.concepts.Identifier;
public abstract class IdentifiablePayload<T extends Identifier> extends Payload implements Identifiable<T> {
import org.opendaylight.yangtools.concepts.Identifier;
public abstract class IdentifiablePayload<T extends Identifier> extends Payload implements Identifiable<T> {
private static final long serialVersionUID = 1L;
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 {
* 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 {
private static final long serialVersionUID = 1L;
/**
private static final long serialVersionUID = 1L;
/**
*
* @return Serialization proxy
*/
*
* @return Serialization proxy
*/
protected abstract Object writeReplace();
}
protected abstract Object writeReplace();
}
}
static class TestNonPersistentPayload extends Payload {
}
static class TestNonPersistentPayload extends Payload {
private static final long serialVersionUID = 1L;
@Override
private static final long serialVersionUID = 1L;
@Override
}
static class TestPersistentPayload extends TestNonPersistentPayload implements PersistentPayload {
}
static class TestPersistentPayload extends TestNonPersistentPayload implements PersistentPayload {
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 1L;