avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon-logkit/src/java/org/apache/log/output/io/rotate RotateStrategyByDate.java
Date Thu, 21 Feb 2002 12:17:34 GMT
colus       02/02/21 04:17:34

  Modified:    src/java/org/apache/log/output/io/rotate
                        RotateStrategyByDate.java
  Log:
  Opps.
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-avalon-logkit/src/java/org/apache/log/output/io/rotate/RotateStrategyByDate.java
  
  Index: RotateStrategyByDate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/output/io/rotate/RotateStrategyByDate.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RotateStrategyByDate.java	21 Feb 2002 11:34:07 -0000	1.1
  +++ RotateStrategyByDate.java	21 Feb 2002 12:17:34 -0000	1.2
  @@ -15,7 +15,7 @@
    * Rotation stragety based on SimpleDateFormat.
    *
    * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
  - * @version $Revision: 1.1 $ $Date: 2002/02/21 11:34:07 $
  + * @version $Revision: 1.2 $ $Date: 2002/02/21 12:17:34 $
    */
   public class RotateStrategyByDate
       implements RotateStrategy
  @@ -41,8 +41,8 @@
           m_date.setTime( System.currentTimeMillis() );
           if ( m_current.equals( m_format.format( m_date ) ) )
           {
  -            return true;
  +            return false;
           }
  -        return false;
  +        return true;
       }
   }
  
  
  

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


Mime
View raw message