Author: nextgens
Date: 2008-04-03 07:24:19 +0000 (Thu, 03 Apr 2008)
New Revision: 18937

Modified:
   trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
   trunk/freenet/src/freenet/node/NetworkIDManager.java
Log:
attempt to fix previous commits

Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2008-04-03 
07:21:04 UTC (rev 18936)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2008-04-03 
07:24:19 UTC (rev 18937)
@@ -246,7 +246,6 @@
                                optionForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "hidden", "return-type", "disk" });
                                optionForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "hidden", "persistence", "forever" });
                                optionForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "hidden", "type", mimeType });
-                               }
                                optionForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "submit", "download", 
l10n("downloadInBackgroundToDisk") });
                        }


Modified: trunk/freenet/src/freenet/node/NetworkIDManager.java
===================================================================
--- trunk/freenet/src/freenet/node/NetworkIDManager.java        2008-04-03 
07:21:04 UTC (rev 18936)
+++ trunk/freenet/src/freenet/node/NetworkIDManager.java        2008-04-03 
07:24:19 UTC (rev 18937)
@@ -360,7 +360,7 @@
                        return (short)(htl-diff);
                }
                public boolean equals(Object o) {
-                       return (p instanceof PeerNode ? via.equals((PeerNode) 
o) : false);
+                       return (o instanceof PeerNode ? via.equals((PeerNode) 
o) : false);
                }
                public int hashCode() {
                        return via.hashCode();


Reply via email to