ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: cvs commit: ant/src/main/org/apache/tools/ant/util OutputStreamFunneler.java
Date Mon, 24 Jan 2005 15:40:23 GMT
Matt Benson wrote:

>--- peterreilly@apache.org wrote:
>
>  
>
>>peterreilly    2005/01/24 07:30:32
>>
>>  Modified:    src/main/org/apache/tools/ant/util
>>OutputStreamFunneler.java
>>    
>>
>[SNIP]
>  
>
>>   
>>  -    private class Funnel extends OutputStream {
>>  +    private final class Funnel extends
>>OutputStream {
>>    
>>
>
>Just curious, why bother making a private inner class
>final?
>  
>
To stop checkstyle from whining!
The construtor was private and in this case checkstyle whines that the 
class should
be final as it cannot be extended.

Peter

>-Matt
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Mail - Find what you need with new enhanced search.
>http://info.mail.yahoo.com/mail_250
>
>---------------------------------------------------------------------
>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