commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Re: [io] svn commit: r491668 - /jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/
Date Tue, 02 Jan 2007 01:36:23 GMT
I'll be honest and say I dislike the convention of using <code> for 
null, as as such I'm not greatly enthused by this change. I'd prefer if 
no more files were changed.

This comes down to my basic tenet that javadoc is for developers to 
read, and it is *frequently* read as source code, not as an HTML page. 
Adding the <code> makes its *much* more difficult for someone to read 
the text. And its the text that matters.

Just read the two lines below and decide which is easier to read and 
extract meaning from.

In addition, since every Java programmer knows that null is a reserved 
word, I really don't see what is gained by highlighting it.

Stephen wrote:
> Author: ggregory
> Date: Mon Jan  1 14:45:49 2007
> New Revision: 491668
> URL:
> Log:
> Add missing Javadoc tags. Use "null" is code format (<code>null</code>)

> -     * @param file  the file to open for input, not null
> +     * @param file  the file to open for input, must not be <code>null</code>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message