mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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) {
|
public String getDetail(String name) {
|
||||||
assert (details != null) : "Did you forget to load the details?";
|
|
||||||
|
|
||||||
return details != null ? details.get(name) : null;
|
return details != null ? details.get(name) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user