From: Robert Varga Date: Mon, 26 Jan 2015 18:09:53 +0000 (+0100) Subject: Add serialVersionUUID fields X-Git-Tag: release/lithium~650 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=2d6a1896466a1802f16034cda45727cbc0c5176d Add serialVersionUUID fields Fix eclipse warnings by generating an explicit field. Change-Id: Ice06a8ba6a2c59085998a725378d0ddd54cc032b Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListener.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListener.java index 1faa341d45..b9ba36943c 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListener.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListener.java @@ -16,4 +16,5 @@ import java.io.Serializable; * The Listener could be in a separate ActorSystem and hence this message needs to be Serializable */ public class RegisterRoleChangeListener implements Serializable { + private static final long serialVersionUID = 8370459011119791506L; } diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListenerReply.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListenerReply.java index f1d13e344f..608130dad2 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListenerReply.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RegisterRoleChangeListenerReply.java @@ -16,4 +16,5 @@ import java.io.Serializable; * Can be sent to a separate actor system and hence should be made serializable. */ public class RegisterRoleChangeListenerReply implements Serializable { + private static final long serialVersionUID = -1972061601184451430L; } diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RoleChangeNotification.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RoleChangeNotification.java index de2733fc86..44b8bf4a53 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RoleChangeNotification.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RoleChangeNotification.java @@ -18,6 +18,7 @@ import java.io.Serializable; * The Listener could be in a separate ActorSystem and hence this message needs to be Serializable */ public class RoleChangeNotification implements Serializable { + private static final long serialVersionUID = -2873869509490117116L; private String memberId; private String oldRole; private String newRole;