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

Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This commit is contained in:
Rafael da Fonseca 2015-06-14 21:50:16 +02:00 committed by Daan Hoogland
parent 441a13252a
commit b34ad4a22c

View File

@ -580,7 +580,6 @@ public class IpAddressManagerImpl extends ManagerBase implements IpAddressManage
IPAddressVO ip = markIpAsUnavailable(addrId);
assert (ip != null) : "Unable to mark the ip address id=" + addrId + " as unavailable.";
if (ip == null) {
return true;
}