diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java index 7cb2bf6c8..202645b9d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java @@ -190,7 +190,7 @@ public class HttpSupport { return c.getResponseCode(); } catch (ConnectException ce) { final URL url = c.getURL(); - final String host = (url == null) ? "" : url.getHost(); + final String host = (url == null) ? "" : url.getHost(); //$NON-NLS-1$ // The standard J2SE error message is not very useful. // if ("Connection timed out: connect".equals(ce.getMessage())) //$NON-NLS-1$ @@ -218,7 +218,7 @@ public class HttpSupport { return c.getResponseCode(); } catch (ConnectException ce) { final URL url = c.getURL(); - final String host = (url == null) ? "" : url.getHost(); + final String host = (url == null) ? "" : url.getHost(); //$NON-NLS-1$ // The standard J2SE error message is not very useful. // if ("Connection timed out: connect".equals(ce.getMessage())) //$NON-NLS-1$