ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant PathTokenizer.java Project.java
Date Sun, 09 Jul 2000 03:50:14 GMT
> -----Original Message-----
> From: conor@locus.apache.org [mailto:conor@locus.apache.org]
> Sent: Sunday, 9 July 2000 13:48
> To: jakarta-ant-cvs@apache.org
> Subject: cvs commit: jakarta-ant/src/main/org/apache/tools/ant
> PathTokenizer.java Project.java
>
>
> conor       00/07/08 20:48:11
>
>   Modified:    src/main/org/apache/tools/ant PathTokenizer.java
>                         Project.java
>   Log:
>   Change Project.translatePath to use PathTokenizer
>
>   I have changed the Project.translatePath method to use the
> PathTokenizer. This
>   adds support for paths of the format C:/blah. These used to
> translate to C;\blah
>   but this will now be C:\blah.
>

Just a note about this change.

The original comment with this method seemed to stress performance, although
I am not sure why it was considered that important. In any case I did some
tests and the new version is faster anyway.

Conor


Mime
View raw message