Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Our tool DeepTect has detected a piece of buggy code snippet, in which the if branch has exactly the same conditions.
Path: axis2-java/modules/kernel/src/org/apache/axis2/context/OperationContext.java
if (mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
|| mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
|| ((mepString.equals(WSDL2Constants.MEP_URI_OUT_IN)
|| mepString.equals(WSDL2Constants.MEP_URI_OUT_IN))
&& !isComplete)) {
...
}
In the above code snippet, the if statement contains the same conditions.