cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [2/2] git commit: updated refs/heads/master to ce50600
Date Wed, 17 Jun 2015 10:14:50 GMT
Fix findbugs RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE in AgentManagerImpl.java Assert isn't
used in prod runtime

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


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

Branch: refs/heads/master
Commit: 4a333e452a4fedd5825ab045b74b04bb0b5bd24a
Parents: acab743
Author: Rafael da Fonseca <rsafonseca@gmail.com>
Authored: Sun Jun 14 21:45:11 2015 +0200
Committer: Daan Hoogland <daan.hoogland@gmail.com>
Committed: Wed Jun 17 12:14:31 2015 +0200

----------------------------------------------------------------------
 engine/schema/src/com/cloud/vm/UserVmVO.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4a333e45/engine/schema/src/com/cloud/vm/UserVmVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/vm/UserVmVO.java b/engine/schema/src/com/cloud/vm/UserVmVO.java
index f6740f8..890c6373 100644
--- a/engine/schema/src/com/cloud/vm/UserVmVO.java
+++ b/engine/schema/src/com/cloud/vm/UserVmVO.java
@@ -106,8 +106,6 @@ public class UserVmVO extends VMInstanceVO implements UserVm {
 
     @Override
     public String getDetail(String name) {
-        assert (details != null) : "Did you forget to load the details?";
-
         return details != null ? details.get(name) : null;
     }
 


Mime
View raw message