ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/aspect DefaultAspectManager.java
Date Sat, 26 Jan 2002 12:02:40 GMT
donaldp     02/01/26 04:02:40

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/components/aspect
                        DefaultAspectManager.java
  Log:
  Don't compare to true in a condition stattement
  
  Removing a Audit violation
  
  Revision  Changes    Path
  1.11      +2 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/aspect/DefaultAspectManager.java
  
  Index: DefaultAspectManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/aspect/DefaultAspectManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultAspectManager.java	20 Jan 2002 17:32:57 -0000	1.10
  +++ DefaultAspectManager.java	26 Jan 2002 12:02:40 -0000	1.11
  @@ -166,7 +166,8 @@
           final AspectHandler[] aspects = m_aspects;
           for( int i = 0; i < aspects.length; i++ )
           {
  -            if( true == aspects[ i ].error( te ) )
  +            final boolean isError = aspects[ i ].error( te );
  +            if( isError )
               {
                   return true;
               }
  
  
  

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


Mime
View raw message