Author: j16sdiz
Date: 2008-11-25 13:15:08 +0000 (Tue, 25 Nov 2008)
New Revision: 23857

Modified:
   trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
Log:
comment

Modified: trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConfigToadlet.java   2008-11-25 
13:15:03 UTC (rev 23856)
+++ trunk/freenet/src/freenet/clients/http/ConfigToadlet.java   2008-11-25 
13:15:08 UTC (rev 23857)
@@ -32,7 +32,9 @@
 import freenet.support.api.BooleanCallback;
 import freenet.support.api.HTTPRequest;
 
-
+/**
+ * Node Configuration Toadlet. Accessible from <code>http://.../config/</code>.
+ */
 // FIXME: add logging, comments
 public class ConfigToadlet extends Toadlet {
        // If a setting has to be more than a meg, something is seriously wrong!
@@ -43,6 +45,9 @@
        private boolean needRestart = false;
        private NeedRestartUserAlert needRestartUserAlert;
 
+       /**
+        * Prompt for node restart
+        */
        private class NeedRestartUserAlert extends AbstractUserAlert {
                @Override
                public String getTitle() {
@@ -104,7 +109,6 @@
                this.core = core;
                this.node = node;
        }
-
        
        @Override
     public void handlePost(URI uri, HTTPRequest request, ToadletContext ctx) 
throws ToadletContextClosedException, IOException {
@@ -118,7 +122,6 @@
                
                if(request.isPartSet("seclevels")) {
                        // Handle the security level changes.
-                       
                        HTMLNode pageNode = null;
                        HTMLNode content = null;
                        HTMLNode ul = null;
@@ -228,6 +231,7 @@
                        }
                }
                
+               // Other setting (not security level) goes here 
                SubConfig[] sc = config.getConfigs();
                StringBuilder errbuf = new StringBuilder();
                

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to