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

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

This closes #444
This commit is contained in:
Rafael da Fonseca 2015-06-14 21:12:35 +02:00 committed by Rohit Yadav
parent 117870c121
commit 0f4aac7359
1 changed files with 0 additions and 1 deletions

View File

@ -457,7 +457,6 @@ public class AgentManagerImpl extends ManagerBase implements AgentManager, Handl
}
protected AgentAttache getAttache(final Long hostId) throws AgentUnavailableException {
assert (hostId != null) : "Who didn't check their id value?";
if (hostId == null) {
return null;
}