cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [1/2] git commit: updated refs/heads/master to c539595
Date Tue, 14 Jul 2015 09:51:05 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 2df190d0e -> c53959513


findbugs: create wrapper to deal with static field

Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #573


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

Branch: refs/heads/master
Commit: c53959513e61f18b210f92e52a290ebe36a4399e
Parents: 10853bf
Author: Daan Hoogland <daan@onecht.net>
Authored: Thu Jul 9 21:05:10 2015 +0200
Committer: Daan Hoogland <daan.hoogland@gmail.com>
Committed: Tue Jul 14 11:50:39 2015 +0200

----------------------------------------------------------------------
 .../com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c5395951/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
index a9708ab..5ab8429 100644
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
@@ -1275,14 +1275,22 @@ public class LibvirtVMDef {
         return _hvsType;
     }
 
-    public void setLibvirtVersion(long libvirtVersion) {
+    public static void setGlobalLibvirtVersion(long libvirtVersion) {
         s_libvirtVersion = libvirtVersion;
     }
 
-    public void setQemuVersion(long qemuVersion) {
+    public void setLibvirtVersion(long libvirtVersion) {
+        setGlobalLibvirtVersion(libvirtVersion);
+    }
+
+    public static void setGlobalQemuVersion(long qemuVersion) {
         s_qemuVersion = qemuVersion;
     }
 
+    public void setQemuVersion(long qemuVersion) {
+        setGlobalQemuVersion(qemuVersion);
+    }
+
     public void setDomainName(String domainName) {
         _domName = domainName;
     }


Mime
View raw message