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

Modified:
   trunk/freenet/src/freenet/support/LoggerHook.java
Log:
for()


Modified: trunk/freenet/src/freenet/support/LoggerHook.java
===================================================================
--- trunk/freenet/src/freenet/support/LoggerHook.java   2008-09-01 15:46:07 UTC 
(rev 22303)
+++ trunk/freenet/src/freenet/support/LoggerHook.java   2008-09-01 16:07:17 UTC 
(rev 22304)
@@ -209,8 +209,7 @@
                }
                if ((c != null) && (threshholds.length > 0)) {
                        String cname = c.getName();
-                               for(int i = 0; i < threshholds.length; i++) {
-                                       DetailedThreshold dt = threshholds[i];
+                               for(DetailedThreshold dt : threshholds) {
                                        if(cname.startsWith(dt.section))
                                                thresh = dt.dThreshold;
                                }


Reply via email to