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 5a3e57e
Date Wed, 17 Jun 2015 10:12:59 GMT
Fix findbugs RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE in DataCenterVO.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/b3d49d91
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b3d49d91
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b3d49d91

Branch: refs/heads/master
Commit: b3d49d91354eef3e545fe21929b7d933ca48aad4
Parents: eaa4eba
Author: Rafael da Fonseca <rsafonseca@gmail.com>
Authored: Sun Jun 14 21:39:47 2015 +0200
Committer: Daan Hoogland <daan.hoogland@gmail.com>
Committed: Wed Jun 17 12:12:41 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b3d49d91/engine/schema/src/com/cloud/dc/DataCenterVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/dc/DataCenterVO.java b/engine/schema/src/com/cloud/dc/DataCenterVO.java
index 02aa988..089a660 100644
--- a/engine/schema/src/com/cloud/dc/DataCenterVO.java
+++ b/engine/schema/src/com/cloud/dc/DataCenterVO.java
@@ -375,8 +375,6 @@ public class DataCenterVO implements DataCenter {
     }
 
     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