You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/02/02 11:30:18 UTC

cvs commit: jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase ExcaliburTestCase.java

donaldp     02/02/02 02:30:17

  Modified:    src/java/org/apache/avalon/excalibur/testcase
                        ExcaliburTestCase.java
  Log:
  Fix if logic when prinitng out annotation
  
  Submitted By: Ryan Shaw <ry...@silveregg.co.jp>
  
  Revision  Changes    Path
  1.16      +2 -2      jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java
  
  Index: ExcaliburTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ExcaliburTestCase.java	11 Dec 2001 09:53:32 -0000	1.15
  +++ ExcaliburTestCase.java	2 Feb 2002 10:30:17 -0000	1.16
  @@ -146,7 +146,7 @@
    * </pre>
    *
    * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
  - * @version $Id: ExcaliburTestCase.java,v 1.15 2001/12/11 09:53:32 jefft Exp $
  + * @version $Id: ExcaliburTestCase.java,v 1.16 2002/02/02 10:30:17 donaldp Exp $
    */
   public class ExcaliburTestCase
       extends TestCase
  @@ -254,7 +254,7 @@
   
           String annotation = conf.getChild( "annotation" ).getValue( null );
   
  -        if ( ( null != annotation ) || !( "".equals( annotation ) ) )
  +        if ( ( null != annotation ) && !( "".equals( annotation ) ) )
           {
               m_logger.info( annotation );
           }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>