You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2015/06/17 12:14:02 UTC

[2/2] git commit: updated refs/heads/master to acab743

Fix findbugs RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE in ServiceOfferingVO.java Assert isn't used in prod runtime

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


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

Branch: refs/heads/master
Commit: 380ac0cf24c81ea04bca5895c9512fc97fca745e
Parents: 5a3e57e
Author: Rafael da Fonseca <rs...@gmail.com>
Authored: Sun Jun 14 21:43:38 2015 +0200
Committer: Daan Hoogland <da...@gmail.com>
Committed: Wed Jun 17 12:13:46 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/380ac0cf/engine/schema/src/com/cloud/service/ServiceOfferingVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/service/ServiceOfferingVO.java b/engine/schema/src/com/cloud/service/ServiceOfferingVO.java
index 805765b..b93f81a 100644
--- a/engine/schema/src/com/cloud/service/ServiceOfferingVO.java
+++ b/engine/schema/src/com/cloud/service/ServiceOfferingVO.java
@@ -310,8 +310,6 @@ public class ServiceOfferingVO extends DiskOfferingVO implements ServiceOffering
     }
 
     public String getDetail(String name) {
-        assert (details != null) : "Did you forget to load the details?";
-
         return details != null ? details.get(name) : null;
     }