Skip to content

Commit eaa4eba

Browse files
rsafonsecaDaanHoogland
authored andcommitted
Fix findbugs RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE in EngineHostVO.java Assert isn't used in prod runtime, null is checked in method
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes apache#448
1 parent a2129b2 commit eaa4eba

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db

‎engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db/EngineHostVO.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ public Map<String, String> getDetails() {
296296
}
297297

298298
public String getDetail(String name) {
299-
assert (details != null) : "Did you forget to load the details?";
300-
301299
return details != null ? details.get(name) : null;
302300
}
303301

0 commit comments

Comments
 (0)