Fix findbugs RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE in EngineDataCenterVO.java Assert isn't used in prod runtime, null is checked in method

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #447
This commit is contained in:
Rafael da Fonseca 2015-06-14 21:28:48 +02:00 committed by Rohit Yadav
parent 0f4aac7359
commit 1b79a8e1d6

View File

@ -402,8 +402,6 @@ public class EngineDataCenterVO implements EngineDataCenter, Identity {
}
public String getDetail(String name) {
assert (details != null) : "Did you forget to load the details?";
return details != null ? details.get(name) : null;
}