Skip to content

Commit

Permalink
Resolve review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RusJaI committed Aug 17, 2023
1 parent 7cf0b43 commit 533f0f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.apache.axis2.AxisFault;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.transport.TransportUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.synapse.SynapseConstants;
Expand Down Expand Up @@ -103,7 +104,7 @@ public boolean invoke(Object object, String inboundEndpointName) {
handleError("Error while creating the SOAP Envelop");
}

if (injectingSeq == null || injectingSeq.equals("")) {
if (StringUtils.isBlank(injectingSeq)) {
handleError("Injecting sequence name not specified");
}
SequenceMediator seq = (SequenceMediator) synapseEnvironment.getSynapseConfiguration()
Expand Down

0 comments on commit 533f0f9

Please sign in to comment.