mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
pointless catch statement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10094 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
499d10ce0b
commit
7e9e2002e1
1 file changed
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user