ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: svn commit: r582160 - /ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java
Date Fri, 05 Oct 2007 16:21:24 GMT
On 10/5/07, Jesse Glick <jesse.glick@sun.com> wrote:
> peterreilly@apache.org wrote:
> > URL: http://svn.apache.org/viewvc?rev=582160&view=rev
> > +        // Check if source exists - use sourceLastModified for file resources
> > +        // as it quicker that checking exists() again, however string reources
[sic]
> > +        // have a last modified time of 0
>
> Resource.getLastModified Javadoc states that it returns 0 if the
> resource does not exist. Should this be clarified to state that it may
> return 0 for other reasons?

It should as it is incorrect!.

Peter


>
> -J.
>
> --
> jesse.glick@sun.com  netbeans.org  ant.apache.org  hudson.dev.java.net
>              http://google.com/search?q=e%5E%28pi*i%29%2B1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Mime
View raw message