Skip to content

Commit

Permalink
nfs: remove throws from HostNameMatcher constructor
Browse files Browse the repository at this point in the history
The exception is never thrown.

Acked-by: Lea Morschel
Target: master
  • Loading branch information
kofemann committed Dec 21, 2020
1 parent 6580dff commit 9c32099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/dcache/nfs/InetAddressMatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public boolean test(InetAddress ip) {

public static class HostNameMatcher extends InetAddressMatcher {

HostNameMatcher(String hostname) throws UnknownHostException {
HostNameMatcher(String hostname) {
super(hostname);
}

Expand Down

0 comments on commit 9c32099

Please sign in to comment.