Skip to content

Commit

Permalink
If is unnecessary - return value is same with or without the if (#2243)
Browse files Browse the repository at this point in the history
  • Loading branch information
cunningt authored Feb 1, 2025
1 parent 96aca2e commit 9aa8c12
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ public Stax2DOM() {
public Document getDocument(String wsdl) throws ToolException {
try {
URI wsdlURI = new URI(URIParserUtil.getAbsoluteURI(wsdl));
if (wsdlURI.toString().startsWith("http")) {
return getDocument(wsdlURI.toURL());
}
return getDocument(wsdlURI.toURL());
} catch (ToolException e) {
throw e;
Expand Down

0 comments on commit 9aa8c12

Please sign in to comment.