[Schmitzm-commits] r2005 - trunk/schmitzm-core/src/main/java/de/schmitzm/swing
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Thu May 24 16:20:32 CEST 2012
Author: alfonx
Date: 2012-05-24 16:20:32 +0200 (Thu, 24 May 2012)
New Revision: 2005
Modified:
trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ConnectionSettingsPanel.java
Log:
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ConnectionSettingsPanel.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ConnectionSettingsPanel.java 2012-05-24 13:34:18 UTC (rev 2004)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ConnectionSettingsPanel.java 2012-05-24 14:20:32 UTC (rev 2005)
@@ -187,11 +187,12 @@
Proxy proxy = settings.getProxy();
InetSocketAddress socketAddr = proxy != null ? (InetSocketAddress)proxy.address() : null;
String host = "";
- try {
- host = socketAddr != null ? socketAddr.getHostString() : null;
- } catch (Throwable err) {
+// try {
+// Das ist ein Compile-Fehler.. da hilft kein try/catch ;-)
+// host = socketAddr != null ? socketAddr.getHostString() : null;
+// } catch (Throwable err) {
host = socketAddr != null ? socketAddr.getHostName() : null;
- }
+// }
setProxy(settings.isProxyUsed(),
proxy != null ? proxy.type() : Type.HTTP,
IOUtil.getProxyHost(proxy),
More information about the Schmitzm-commits
mailing list