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/builder DefaultProjectBuilder.java
Date Tue, 15 Jan 2002 09:46:03 GMT
donaldp     02/01/15 01:46:03

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/components/builder
                        DefaultProjectBuilder.java
  Log:
  Remove deprecation warning by using the unpublished StringUtil.split
  
  Revision  Changes    Path
  1.25      +2 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/DefaultProjectBuilder.java
  
  Index: DefaultProjectBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/DefaultProjectBuilder.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- DefaultProjectBuilder.java	15 Jan 2002 09:13:13 -0000	1.24
  +++ DefaultProjectBuilder.java	15 Jan 2002 09:46:03 -0000	1.25
  @@ -15,6 +15,7 @@
   import javax.xml.parsers.SAXParserFactory;
   import org.apache.avalon.excalibur.i18n.ResourceManager;
   import org.apache.avalon.excalibur.i18n.Resources;
  +import org.apache.avalon.excalibur.util.StringUtil;
   import org.apache.avalon.framework.CascadingException;
   import org.apache.avalon.framework.ExceptionUtil;
   import org.apache.avalon.framework.Version;
  @@ -419,7 +420,7 @@
           //apply depends attribute
           if( null != depends )
           {
  -            final String[] elements = ExceptionUtil.splitString( depends, "," );
  +            final String[] elements = StringUtil.split( depends, "," );
               final ArrayList dependsList = new ArrayList();
   
               for( int i = 0; i < elements.length; i++ )
  
  
  

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