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/antlib/xml XMLValidateTask.java
Date Sat, 26 Jan 2002 12:08:55 GMT
donaldp     02/01/26 04:08:55

  Modified:    proposal/myrmidon/src/java/org/apache/antlib/xml
                        XMLValidateTask.java
  Log:
  Made complex loop counter a simple constant
  
  Removing a Audit violation
  
  Revision  Changes    Path
  1.16      +2 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/xml/XMLValidateTask.java
  
  Index: XMLValidateTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/xml/XMLValidateTask.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- XMLValidateTask.java	26 Jan 2002 02:08:58 -0000	1.15
  +++ XMLValidateTask.java	26 Jan 2002 12:08:55 -0000	1.16
  @@ -243,7 +243,8 @@
           final LocalResolver resolver = new LocalResolver();
           setupLogger( resolver );
   
  -        for( int i = 0; i < m_dtdLocations.size(); i++ )
  +        final int size = m_dtdLocations.size();
  +        for( int i = 0; i < size; i++ )
           {
               final DTDLocation location = (DTDLocation)m_dtdLocations.get( i );
               resolver.registerDTD( location );
  
  
  

--
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