Skip to content

Commit 19de61f

Browse files
AXIS2-6091 remove some extra lines around return statements in HTTPSender, identified by community review of a GItHub PR
1 parent c54cc29 commit 19de61f

File tree

1 file changed

+0
-4
lines changed
  • modules/transport/http/src/main/java/org/apache/axis2/transport/http

1 file changed

+0
-4
lines changed

modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPSender.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,6 @@ private AxisFault handleNonSoapError(final Request request, final int statusCode
568568
fault.setDetail(faultDetail);
569569

570570
return fault;
571-
572571
}
573572

574573
/**
@@ -621,7 +620,6 @@ private Optional<QName> getFaultQNameForStatusCode(int statusCode) {
621620
}
622621

623622
return Optional.ofNullable(faultQName);
624-
625623
}
626624

627625
/**
@@ -644,7 +642,6 @@ private OMElement createFaultDetailForNonSoapError(String responseContent) {
644642
faultDetail.addChild(textNode);
645643

646644
return faultDetail;
647-
648645
}
649646

650647
/**
@@ -662,7 +659,6 @@ private String wrapResponseWithCDATA(final String responseContent) {
662659
// Replace closing CDATA sequences properly
663660
String safeContent = responseContent.replace("]]>", "]]]]><![CDATA[>").replace("\n", "&#10;");
664661
return "<![CDATA[" + safeContent + "]]>";
665-
666662
}
667663

668664
}

0 commit comments

Comments
 (0)