ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: [1/8] make it compile under Java5 (1.5.0_22-b03)
Date Wed, 09 Jul 2014 21:42:57 GMT
Hello Jan,

I was wondering why you are interested into make it compile under Java5 (1.5.0_22-b03) ?

Note, I am just curious, not critical.

It looks like this particular Java version is very demanding concerning the presence of the
final keyword next to method parameters or maybe also for variables which are in the scope
of nested classes.

I am programming in scala these days with its insistence on using val (immutable variables)
wherever possible so I see a connection.

Antoine

On Jul 4, 2014, at 9:15 AM, jhm@apache.org wrote:

> Repository: ant
> Updated Branches:
>  refs/heads/master 1b76f1b6d -> 789422e13
> 
> 
> http://git-wip-us.apache.org/repos/asf/ant/blob/13f6d98c/src/main/org/apache/tools/ant/util/SymbolicLinkUtils.java
> ----------------------------------------------------------------------
> diff --git a/src/main/org/apache/tools/ant/util/SymbolicLinkUtils.java b/src/main/org/apache/tools/ant/util/SymbolicLinkUtils.java
> index 36024ec..e8df272 100644
> --- a/src/main/org/apache/tools/ant/util/SymbolicLinkUtils.java
> +++ b/src/main/org/apache/tools/ant/util/SymbolicLinkUtils.java
> @@ -70,7 +70,7 @@ public class SymbolicLinkUtils {
>      * @return true if the file is a symbolic link.
>      * @throws IOException on error.
>      */
> -    public boolean isSymbolicLink(File file) throws IOException {
> +    public boolean isSymbolicLink(final File file) throws IOException {
>         return isSymbolicLink(file.getParentFile(), file.getName());
>     }
> 


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


Mime
View raw message