Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for java 1.4.x

allo3b4a99ff6a99
diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.java
index e44fe6de1..6f096fe31 100644
--- a/source/de/anomic/http/httpd.java
+++ b/source/de/anomic/http/httpd.java
@@ -1448,7 +1448,7 @@ public final class httpd implements serverHandler {
* If the port number is equal to the yacy port and the IP address is an address of this host ...
* Please note that yacy is listening to all interfaces of this host
*/
- } else if (dstPort.equals(Integer.valueOf(serverCore.getPortNr(switchboard.getConfig("port", "8080")))) &&
+ } else if (dstPort.equals(new Integer(serverCore.getPortNr(switchboard.getConfig("port", "8080")))) &&
isThisHostIP(dstHost)) {
return true;
} else if ((serverCore.portForwardingEnabled) &&