I'm checking this in.

This fixes a bug in LogManager that I found while merging.
I think this is just some random thinko from when I was converting
thing to use generics.  Sorry about that.

Tom

Index: ChangeLog
from  Tom Tromey  <[EMAIL PROTECTED]>

        * java/util/logging/LogManager.java (reset): Remove bogus
        'while'.

Index: java/util/logging/LogManager.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/logging/LogManager.java,v
retrieving revision 1.26
diff -u -r1.26 LogManager.java
--- java/util/logging/LogManager.java 10 Dec 2006 20:25:46 -0000 1.26
+++ java/util/logging/LogManager.java 1 Feb 2007 21:13:25 -0000
@@ -1,6 +1,6 @@
 /* LogManager.java -- a class for maintaining Loggers and managing
    configuration properties
-   Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2005, 2006, 2007 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -446,8 +446,8 @@
 
     Iterator<WeakReference<Logger>> iter = loggers.values().iterator();
     while (iter.hasNext())
-      for (WeakReference<Logger> ref : loggers.values())
       {
+       WeakReference<Logger> ref;
        Logger logger;
 
        ref = iter.next();

Reply via email to