Skip to content

Commit 0f4aac7

Browse files
rsafonsecayadvr
authored andcommitted
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 apache#444
1 parent 117870c commit 0f4aac7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎engine/orchestration/src/com/cloud/agent/manager/AgentManagerImpl.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,6 @@ protected Status investigate(AgentAttache agent) {
457457
}
458458

459459
protected AgentAttache getAttache(final Long hostId) throws AgentUnavailableException {
460-
assert (hostId != null) : "Who didn't check their id value?";
461460
if (hostId == null) {
462461
return null;
463462
}

0 commit comments

Comments
 (0)