mirror of https://github.com/apache/cloudstack.git
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>
This commit is contained in:
parent
eaa4eba74d
commit
b3d49d9135
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue