mirror of https://github.com/apache/cloudstack.git
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:
parent
117870c121
commit
0f4aac7359
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue