commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log LogSource.java
Date Wed, 01 May 2002 07:18:09 GMT
rwaldhoff    02/05/01 00:18:09

  Modified:    httpclient/src/java/org/apache/commons/httpclient/log
                        LogSource.java
  Log:
  not entrySet(), but values()
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5910
  
  Revision  Changes    Path
  1.8       +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java
  
  Index: LogSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- LogSource.java	5 Jan 2002 11:16:01 -0000	1.7
  +++ LogSource.java	1 May 2002 07:18:09 -0000	1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v
1.7 2002/01/05 11:16:01 vmassol Exp $
  - * $Revision: 1.7 $
  - * $Date: 2002/01/05 11:16:01 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v
1.8 2002/05/01 07:18:09 rwaldhoff Exp $
  + * $Revision: 1.8 $
  + * $Date: 2002/05/01 07:18:09 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -68,7 +68,7 @@
   
   /**
    * @author Rod Waldhoff
  - * @version $Id: LogSource.java,v 1.7 2002/01/05 11:16:01 vmassol Exp $
  + * @version $Id: LogSource.java,v 1.8 2002/05/01 07:18:09 rwaldhoff Exp $
    */
   public class LogSource {
       static protected HashMap _logs = new HashMap();
  @@ -153,7 +153,7 @@
        * to me.
        */
       static public void setLevel(int level) {
  -        Iterator it = _logs.entrySet().iterator();
  +        Iterator it = _logs.values().iterator();
           while(it.hasNext()) {
               Log log = (Log)(it.next());
               log.setLevel(level);
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message