Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2015-08-19 15:55:07 +0000
committerslewis2015-08-19 15:55:07 +0000
commit163d3c13c1f9082b228f0fe04c62b866b670d499 (patch)
treef3397a299d40debd10adda74db5a8926eb226c54
parent406009593a8ba4f0c391802e6339cbd9bc652ccf (diff)
downloadorg.eclipse.ecf-163d3c13c1f9082b228f0fe04c62b866b670d499.tar.gz
org.eclipse.ecf-163d3c13c1f9082b228f0fe04c62b866b670d499.tar.xz
org.eclipse.ecf-163d3c13c1f9082b228f0fe04c62b866b670d499.zip
Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=472163
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/ProxyAddress.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/ProxyAddress.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/ProxyAddress.java
index a2fcc0ef1..152b9d02e 100644
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/ProxyAddress.java
+++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/ProxyAddress.java
@@ -26,7 +26,7 @@ public class ProxyAddress implements Serializable {
protected String hostname = ""; //$NON-NLS-1$
public ProxyAddress(String hostname, int port) {
- this.hostname = hostname;
+ this.hostname = (hostname == null) ? "" : hostname; //$NON-NLS-1$
this.port = port;
}

Back to the top