Author: toad
Date: 2006-11-18 18:39:21 +0000 (Sat, 18 Nov 2006)
New Revision: 10993

Modified:
   trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java
Log:
Move a method around.

Modified: trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java
===================================================================
--- trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java      
2006-11-18 18:37:09 UTC (rev 10992)
+++ trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java      
2006-11-18 18:39:21 UTC (rev 10993)
@@ -248,7 +248,24 @@
                updater.onChangeURI(uri);
        }

+       /** @return The revocation URI. */
+       public synchronized FreenetURI getRevocationURI() {
+               return revocationURI;
+       }
+       
        /**
+        * Set the revocation URI.
+        * @param uri The new revocation URI.
+        */
+       public void setRevocationURI(FreenetURI uri) {
+               synchronized(this) {
+                       if(revocationURI.equals(uri)) return;
+                       this.revocationURI = uri;
+               }
+               revocationChecker.onChangeRevocationURI();
+       }
+       
+       /**
         * @return Is auto-update currently enabled?
         */
        public synchronized boolean isAutoUpdateAllowed() {
@@ -476,24 +493,7 @@
                node.clientCore.alerts.register(new SimpleUserAlert(true, 
"Update Failed!", "Update Failed: "+reason, UserAlert.ERROR));
        }

-       /** @return The revocation URI. */
-       public synchronized FreenetURI getRevocationURI() {
-               return revocationURI;
-       }
-       
        /**
-        * Set the revocation URI.
-        * @param uri The new revocation URI.
-        */
-       public void setRevocationURI(FreenetURI uri) {
-               synchronized(this) {
-                       if(revocationURI.equals(uri)) return;
-                       this.revocationURI = uri;
-               }
-               revocationChecker.onChangeRevocationURI();
-       }
-       
-       /**
         * Called when a new jar has been downloaded.
         * @param isExt If true, the new jar is the ext jar; if false, it is 
the main jar.
         */


Reply via email to