songwanging created APEXMALHAR-2553: ---------------------------------------
Summary: Redundant conditions in an if statement Key: APEXMALHAR-2553 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2553 Project: Apache Apex Malhar Issue Type: Bug Affects Versions: 3.8.0 Reporter: songwanging Priority: Minor Our tool DeepTect has detected the following buggy code snippet, in which the if branch has exactly the same conditions. Path1: apex-malhar/contrib/src/main/java/com/datatorrent/contrib/kafka/KafkaMetadataUtil.java {code:java} if (brokerSet == null || brokerSet == null || brokerSet.size() == 0) { return null; } {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)