cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/master to 55c1d9f
Date Wed, 24 Jun 2015 18:20:19 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master f18c8f8d9 -> 55c1d9f3f


findbugs: fields of serializable made serializable

Signed-off-by: Daan Hoogland <daan@onecht.net>

This closes #522


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/55c1d9f3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/55c1d9f3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/55c1d9f3

Branch: refs/heads/master
Commit: 55c1d9f3fa90a745ff73dc641516c231563b91e5
Parents: f18c8f8
Author: Daan Hoogland <daan@onecht.net>
Authored: Wed Jun 24 14:29:04 2015 +0200
Committer: Daan Hoogland <daan@onecht.net>
Committed: Wed Jun 24 20:20:12 2015 +0200

----------------------------------------------------------------------
 api/src/com/cloud/agent/api/to/LoadBalancerTO.java | 1 +
 server/src/com/cloud/api/doc/Argument.java         | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/55c1d9f3/api/src/com/cloud/agent/api/to/LoadBalancerTO.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/agent/api/to/LoadBalancerTO.java b/api/src/com/cloud/agent/api/to/LoadBalancerTO.java
index baa83df..2bb1537 100644
--- a/api/src/com/cloud/agent/api/to/LoadBalancerTO.java
+++ b/api/src/com/cloud/agent/api/to/LoadBalancerTO.java
@@ -481,6 +481,7 @@ public class LoadBalancerTO {
     }
 
     public static class AutoScaleVmGroupTO implements Serializable {
+        private static final long serialVersionUID = 2L;
         private final String uuid;
         private final int minMembers;
         private final int maxMembers;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/55c1d9f3/server/src/com/cloud/api/doc/Argument.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/doc/Argument.java b/server/src/com/cloud/api/doc/Argument.java
index 6889be7..141f7e6 100644
--- a/server/src/com/cloud/api/doc/Argument.java
+++ b/server/src/com/cloud/api/doc/Argument.java
@@ -16,9 +16,11 @@
 // under the License.
 package com.cloud.api.doc;
 
+import java.io.Serializable;
 import java.util.List;
 
-public class Argument implements Comparable {
+public class Argument implements Comparable<Object>, Serializable {
+    private static final long serialVersionUID = 2L;
     private String name;
     private String description;
     private Boolean required;


Mime
View raw message