avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-logkit/src/java/org/apache/log/output/io/rotate OrRotateStrategy.java
Date Wed, 05 Feb 2003 19:36:01 GMT
bloritsch    2003/02/05 11:36:01

  Modified:    src/java/org/apache/log/output/io/rotate
                        OrRotateStrategy.java
  Log:
  commit patch from Leo Sutic
  
  Revision  Changes    Path
  1.7       +2 -3      jakarta-avalon-logkit/src/java/org/apache/log/output/io/rotate/OrRotateStrategy.java
  
  Index: OrRotateStrategy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/output/io/rotate/OrRotateStrategy.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- OrRotateStrategy.java	5 Feb 2003 09:56:53 -0000	1.6
  +++ OrRotateStrategy.java	5 Feb 2003 19:36:01 -0000	1.7
  @@ -89,10 +89,9 @@
        */
       public void reset()
       {
  -        if( -1 != m_usedRotation )
  +        for (int i = 0; i < m_strategies.length; i++)
           {
  -            m_strategies[ m_usedRotation ].reset();
  -            m_usedRotation = -1;
  +            m_strategies[ i ].reset();
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-cvs-help@jakarta.apache.org


Mime
View raw message