Skip to content

Commit c4ae926

Browse files
AXIS2-5901 Redundant conditions in an if statement in OperationContext.java
1 parent 0628d99 commit c4ae926

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/kernel/src/org/apache/axis2/context/OperationContext.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,7 @@ public void activate(ConfigurationContext cc) {
738738
// We only want to (re)register this if it's an outbound message
739739
String mepString = getAxisOperation().getMessageExchangePattern();
740740
if (mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
741-
|| mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
742-
|| ((mepString.equals(WSDL2Constants.MEP_URI_OUT_IN)
743-
|| mepString.equals(WSDL2Constants.MEP_URI_OUT_IN))
741+
|| ((mepString.equals(WSDL2Constants.MEP_URI_OUT_IN))
744742
&& !isComplete)) {
745743

746744
// make sure this OperationContext object is registered in the

0 commit comments

Comments
 (0)