mirror of
https://github.com/nicolabs/ldap-plugin.git
synced 2025-09-07 05:14:24 +02:00
pointless catch statement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10094 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: 7e9e2002e15130d0a87009e1cd22fa52eea39a87
This commit is contained in:
parent
46d6b2ecec
commit
960e503e23
|
@ -259,8 +259,6 @@ public class LDAPSecurityRealm extends SecurityRealm {
|
|||
port = Integer.parseInt(m.group(2));
|
||||
Socket s = new Socket(adrs,port);
|
||||
s.close();
|
||||
} catch (NumberFormatException x) {
|
||||
// impossible, because of the regexp
|
||||
} catch (UnknownHostException x) {
|
||||
error("Unknown host: "+x.getMessage());
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue