Author: nextgens
Date: 2008-01-21 12:21:05 +0000 (Mon, 21 Jan 2008)
New Revision: 17180

Modified:
   trunk/freenet/src/freenet/node/RequestStarter.java
Log:
make that field static too

Modified: trunk/freenet/src/freenet/node/RequestStarter.java
===================================================================
--- trunk/freenet/src/freenet/node/RequestStarter.java  2008-01-21 12:16:57 UTC 
(rev 17179)
+++ trunk/freenet/src/freenet/node/RequestStarter.java  2008-01-21 12:21:05 UTC 
(rev 17180)
@@ -38,7 +38,7 @@

        /** If true, local requests are subject to shouldRejectRequest(). If 
false, they are only subject to the token
         * buckets and the thread limit. FIXME make configurable. */
-       private final boolean LOCAL_REQUESTS_COMPETE_FAIRLY = true;
+       private static final boolean LOCAL_REQUESTS_COMPETE_FAIRLY = true;

        public static boolean isValidPriorityClass(int prio) {
                return !((prio < MAXIMUM_PRIORITY_CLASS) || (prio > 
MINIMUM_PRIORITY_CLASS));


Reply via email to