mirror of https://github.com/apache/cloudstack.git
Fix findbugs RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE in EngineHostVO.java Assert isn't used in prod runtime, null is checked in method
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes #448
This commit is contained in:
parent
a2129b2940
commit
eaa4eba74d
|
|
@ -296,8 +296,6 @@ public class EngineHostVO implements EngineHost, Identity {
|
|||
}
|
||||
|
||||
public String getDetail(String name) {
|
||||
assert (details != null) : "Did you forget to load the details?";
|
||||
|
||||
return details != null ? details.get(name) : null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue