mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
Remove useless initialization
This commit is contained in:
1 parent
7d1353b6ad
commit
3d8c3c417c
14 files changed
+15
-15
No files matched your search
@@ -385,7 +385,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
|
||||
return FormValidation.error(Messages.ProxyConfiguration_TestUrlRequired());
|
||||
}
|
||||
|
||||
String host = testUrl;
|
||||
String host;
|
||||
try {
|
||||
URL url = new URL(testUrl);
|
||||
host = url.getHost();
|
||||
|
||||
Reference in new issue
Block a user