ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: svn commit: r810793 - /ant/core/trunk/src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java
Date Thu, 03 Sep 2009 19:34:13 GMT
Gilles Scokart <gscokart@gmail.com> wrote on 09/03/2009 02:51:46 PM:

> Re: svn commit: r810793 - /ant/core/trunk/src/main/org/apache/tools/
> ant/filters/util/ChainReaderHelper.java
> 
> What is the benefits of having the parameters final ?

It prevents you from inadvertently changing which object the parameter 
name points to *within the method body*.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message