Add serialVersionUID to all java.io.Serializable messages 95/47395/1
authorAlexis de Talhouët <adetalhouet@inocybe.com>
Fri, 21 Oct 2016 19:46:13 +0000 (15:46 -0400)
committerTomas Cere <tcere@cisco.com>
Sun, 23 Oct 2016 15:31:05 +0000 (15:31 +0000)
Change-Id: I4928273c0d65e782162d099ddbae36a0c9fe1c63
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
(cherry picked from commit 337584868377e343ea943a9268da336325628c70)

17 files changed:
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/AskForMasterMountPoint.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/CreateInitialMasterActorData.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/MasterActorDataInitialized.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/RefreshSetupMasterActorData.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/RegisterMountPoint.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/SubmitFailedReply.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/UnregisterSlaveMountPoint.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/YangTextSchemaSourceRequest.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/CancelRequest.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/DeleteRequest.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/EmptyReadResponse.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/ExistsRequest.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/MergeRequest.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/PutRequest.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/ReadRequest.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/SubmitReply.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/SubmitRequest.java

index 9fb3ac27850dc963f5dc220a46b20485f4204c5c..4d56e1f17b13983947e70283c764d25fae25e28a 100644 (file)
@@ -15,4 +15,5 @@ import java.io.Serializable;
  * with reply 'RegisterMountPoint' which includes needed parameters.
  */
 public class AskForMasterMountPoint implements Serializable {
+    private static final long serialVersionUID = 1L;
 }
index 2117f699df721518a981cc331222e06f5ce33a06..bab905674254dac1391730393b3480bcb0e609ff 100644 (file)
@@ -17,6 +17,7 @@ import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
  * Master sends this message to the own actor to set necessary parameters.
  */
 public class CreateInitialMasterActorData implements Serializable {
+    private static final long serialVersionUID = 1L;
 
     private final DOMDataBroker deviceDataBroker;
     private final List<SourceIdentifier> allSourceIdentifiers;
index 51c698be4341eef2839dfa81646d93a7990a76e7..fa5482b8fe187a60d5e4890ea694d949c01f557b 100644 (file)
@@ -15,4 +15,5 @@ import java.io.Serializable;
  * when this message is received by master, operational data-store is changed.
  */
 public class MasterActorDataInitialized implements Serializable {
+    private static final long serialVersionUID = 1L;
 }
index f75b0340327f6cf037dace3fb5bca26fd85931bf..285d37fb465ca03115065213dc93d38f359db707 100644 (file)
@@ -19,6 +19,7 @@ import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
  * Master sends this message to the own actor to refresh setup data
  */
 public class RefreshSetupMasterActorData implements Serializable {
+    private static final long serialVersionUID = 1L;
 
     private final NetconfTopologySetup netconfTopologyDeviceSetup;
     private final RemoteDeviceId remoteDeviceId;
index 26c634859dcfe858f0a48fca3f7e841bf201c4df..0023103a5c227ab1a790540a509156b081da7772 100644 (file)
@@ -16,6 +16,7 @@ import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
  * Master sends the message to slave with necessary parameters for creating slave mount point.
  */
 public class RegisterMountPoint implements Serializable {
+    private static final long serialVersionUID = 1L;
 
     private final List<SourceIdentifier> allSourceIdentifiers;
 
index 0aa4f7f501ba0e703d98ae15efdffd4d022a7623..b12673230eccbe4ff610570da409ee67f8b135a5 100644 (file)
@@ -14,4 +14,5 @@ import java.io.Serializable;
  * Message sent from master back to the slave when submit is not performed, tx is closed
  */
 public class SubmitFailedReply implements Serializable {
+    private static final long serialVersionUID = 1L;
 }
index 7c05b6ae754ed14d7027bc6fa92d0f4745f4b917..303f0b465ae9f96176e4282f92ed658a98afa85b 100644 (file)
@@ -15,4 +15,5 @@ import java.io.Serializable;
  * close method). Message must be sended before slave actor is poisoned.
  */
 public class UnregisterSlaveMountPoint implements Serializable {
+    private static final long serialVersionUID = 1L;
 }
index f8dab7320ff573ec4c1054d341ead69455bd1493..ffc3d1334b864610d28b81efc992095a31b09332 100644 (file)
@@ -16,6 +16,7 @@ import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
  * Master responds with resolved schema source.
  */
 public class YangTextSchemaSourceRequest implements Serializable {
+    private static final long serialVersionUID = 1L;
 
     private final SourceIdentifier sourceIdentifier;
 
index 03b3db0c266e0f70646555fc14fc2aa569f2cdf7..1548dc791ae4e639231a1c8ebe504e79fac3612e 100644 (file)
@@ -12,6 +12,7 @@ import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 
 public class DeleteRequest implements TransactionRequest {
+    private static final long serialVersionUID = 1L;
 
     private final LogicalDatastoreType store;
     private final YangInstanceIdentifier path;
index 6eaea938d2b314cb4683aad90812bc488e8b4445..6e1e1bdc9f3f6e00858c279cd7daf7848363b7d4 100644 (file)
@@ -14,4 +14,5 @@ import java.io.Serializable;
  * Message is sended when read result do not present any value.
  */
 public class EmptyReadResponse implements Serializable {
+    private static final long serialVersionUID = 1L;
 }
index 92266c1773ca9e0114c661a6562321d561fd982c..b5fae5f02931f434babca317b12e22c33b77855d 100644 (file)
@@ -12,6 +12,7 @@ import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 
 public class ExistsRequest implements TransactionRequest {
+    private static final long serialVersionUID = 1L;
 
     private final LogicalDatastoreType store;
     private final YangInstanceIdentifier path;
index 21766264b787d480933d8c3bec7ad3a42c74a2c6..8c03023654f295393e791819cdf20cb3cf22dcf7 100644 (file)
@@ -12,6 +12,7 @@ import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.netconf.topology.singleton.messages.NormalizedNodeMessage;
 
 public class MergeRequest implements TransactionRequest {
+    private static final long serialVersionUID = 1L;
 
     private final NormalizedNodeMessage data;
     private final LogicalDatastoreType store;
index 61294d5ff9fe21ab9db8219272c052d173fa84f5..41de9c22b7daf1a0ef434ad79633a4e780793d95 100644 (file)
@@ -12,6 +12,7 @@ import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.netconf.topology.singleton.messages.NormalizedNodeMessage;
 
 public class PutRequest implements TransactionRequest {
+    private static final long serialVersionUID = 1L;
 
     private final LogicalDatastoreType store;
     private final NormalizedNodeMessage data;
index 49c6a40faf41b995860742cea658dcec84b12bd0..d950f285576bd8a1a3fcfda8c8eb13554ed1efbd 100644 (file)
@@ -12,6 +12,7 @@ import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 
 public class ReadRequest implements TransactionRequest {
+    private static final long serialVersionUID = 1L;
 
     private final LogicalDatastoreType store;
     private final YangInstanceIdentifier path;
index 46e6ee33b7bbb0edeb75a332d5ca9bf5a344f557..5ca306c6cde5f23d711abb7b366a1d705a3b2289 100644 (file)
@@ -14,4 +14,5 @@ import java.io.Serializable;
  * Message sent from master back to the slave when submit is successfully performed.
  */
 public class SubmitReply implements Serializable {
+    private static final long serialVersionUID = 1L;
 }