Author: juiceman
Date: 2007-09-14 02:59:22 +0000 (Fri, 14 Sep 2007)
New Revision: 15151

Modified:
   trunk/freenet/src/freenet/node/NodeClientCore.java
Log:
Remove access to this obsolete config option; actual code to be removed unless 
someone knows of a client that still needs this.

Modified: trunk/freenet/src/freenet/node/NodeClientCore.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeClientCore.java  2007-09-13 21:09:33 UTC 
(rev 15150)
+++ trunk/freenet/src/freenet/node/NodeClientCore.java  2007-09-14 02:59:22 UTC 
(rev 15151)
@@ -278,22 +278,22 @@

                // FIXME remove this code, the new behaviour should be handled 
by all clients

-               nodeConfig.register("ignoreTooManyPathComponents", false, 
sortOrder++, true, false, "NodeClientCore.ignoreTooManyPathComponents", 
-                               
"NodeClientCore.ignoreTooManyPathComponentsLong", new BooleanCallback() {
+//             nodeConfig.register("ignoreTooManyPathComponents", false, 
sortOrder++, true, false, "NodeClientCore.ignoreTooManyPathComponents", 
+//                             
"NodeClientCore.ignoreTooManyPathComponentsLong", new BooleanCallback() {

-                                       public boolean get() {
-                                               return 
ignoreTooManyPathComponents;
-                                       }
+//                                     public boolean get() {
+//                                             return 
ignoreTooManyPathComponents;
+//                                     }

-                                       public void set(boolean val) throws 
InvalidConfigValueException {
-                                               
synchronized(NodeClientCore.this) {
-                                                       
ignoreTooManyPathComponents = val;
-                                               }
-                                       }
-                       
-               });
+//                                     public void set(boolean val) throws 
InvalidConfigValueException {
+//                                             
synchronized(NodeClientCore.this) {
+//                                                     
ignoreTooManyPathComponents = val;
+//                                             }
+//                                     }
+//                     
+//             });

-               ignoreTooManyPathComponents = 
nodeConfig.getBoolean("ignoreTooManyPathComponents");
+               ignoreTooManyPathComponents = false;

                nodeConfig.register("lazyResume", false, sortOrder++, true, 
false, "NodeClientCore.lazyResume",
                                "NodeClientCore.lazyResumeLong", new 
BooleanCallback() {


Reply via email to