Author: toad
Date: 2006-11-18 18:45:10 +0000 (Sat, 18 Nov 2006)
New Revision: 10997

Modified:
   trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java
Log:
Document a couple of methods.

Modified: trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java
===================================================================
--- trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java      
2006-11-18 18:43:14 UTC (rev 10996)
+++ trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java      
2006-11-18 18:45:10 UTC (rev 10997)
@@ -657,10 +657,13 @@
                return armed || isAutoUpdateAllowed;
        }

+       /** Is the node able to update as soon as the revocation fetch has been 
completed? */
        public boolean canUpdateNow() {
                return isReadyToDeployUpdate(true);
        }

+       /** Is the node able to update *immediately*? (i.e. not only is it 
ready in every other sense, but also a revocation
+        * fetch has completed recently enough not to need another one) */
        public boolean canUpdateImmediately() {
                return isReadyToDeployUpdate(false);
        }


Reply via email to