You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Ryan Shaw <ry...@silveregg.co.jp> on 2002/02/01 11:07:04 UTC

[PATCH] ExcaliburTestCase.java

Index: src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java
===================================================================
RCS file: /home/cvspublic/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java,v
retrieving revision 1.15
diff -u -r1.15 ExcaliburTestCase.java
--- src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java	11 Dec 2001 09:53:32 -0000	1.15
+++ src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java	1 Feb 2002 10:11:12 -0000
@@ -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>


Re: [PATCH] ExcaliburTestCase.java

Posted by Peter Donald <pe...@apache.org>.
Patch applied - thanks!

On Fri, 1 Feb 2002 21:07, Ryan Shaw wrote:
> Index: src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalib
>ur/testcase/ExcaliburTestCase.java,v retrieving revision 1.15
> diff -u -r1.15 ExcaliburTestCase.java
> --- src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java	11
> Dec 2001 09:53:32 -0000	1.15 +++
> src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java	1 Feb
> 2002 10:11:12 -0000 @@ -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 );
>          }

-- 
Cheers,

Pete

---------------------------------------------------
"Wise men don't need advice. Fools don't take it." 
                        -Benjamin Franklin 
---------------------------------------------------

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