Author: toad
Date: 2008-09-01 16:07:56 +0000 (Mon, 01 Sep 2008)
New Revision: 22305

Modified:
   trunk/freenet/src/freenet/support/LoggerHook.java
Log:
One h in threshold!


Modified: trunk/freenet/src/freenet/support/LoggerHook.java
===================================================================
--- trunk/freenet/src/freenet/support/LoggerHook.java   2008-09-01 16:07:17 UTC 
(rev 22304)
+++ trunk/freenet/src/freenet/support/LoggerHook.java   2008-09-01 16:07:56 UTC 
(rev 22305)
@@ -201,15 +201,15 @@
        }

        public boolean instanceShouldLog(int priority, Class<?> c) {
-               DetailedThreshold[] threshholds;
+               DetailedThreshold[] thresholds;
                int thresh;
                synchronized(this) {
-                       threshholds = detailedThresholds;
+                       thresholds = detailedThresholds;
                        thresh = threshold;
                }
-               if ((c != null) && (threshholds.length > 0)) {
+               if ((c != null) && (thresholds.length > 0)) {
                        String cname = c.getName();
-                               for(DetailedThreshold dt : threshholds) {
+                               for(DetailedThreshold dt : thresholds) {
                                        if(cname.startsWith(dt.section))
                                                thresh = dt.dThreshold;
                                }


Reply via email to