Skip to content

Commit

Permalink
bug fix: removed extra brace
Browse files Browse the repository at this point in the history
  • Loading branch information
moshonk committed Sep 1, 2020
1 parent 612e938 commit 7d37581
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/main/java/org/openhim/mediator/dsub/DsubActor.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,12 @@ private <T> T getProperty(Object object, String name) {
}

private URL parseUrl(String url) {
try {
URI uri = new URL(url).toURI();
return uri.toURL();
}
catch (Exception e) {
return null;
}
}
}
}
try {
URI uri = new URL(url).toURI();
return uri.toURL();
}
catch (Exception e) {
return null;
}
}
}

0 comments on commit 7d37581

Please sign in to comment.