commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: [lang] @inheritDoc
Date Thu, 07 Apr 2011 22:33:14 GMT
On Thu, Apr 7, 2011 at 5:02 PM, Konstantin Kolinko
<knst.kolinko@gmail.com> wrote:
> 2011/4/8 Jörg Schaible <joerg.schaible@gmx.de>:
>> Hi,
>>
>> just a reminder. Such a javadoc comment for a method is completely
>> superfluous:
>>
>> ============ %< =============
>> /**
>>  * {@inheritDoc}
>>  */
>> ============ %< =============
>>
>> This is what the javadoc nowadays does by default ...
>>
>
> Yes, but personally I like them as a good reminder when looking though the code.
> (Or as "nothing more to add").

I feel more comfortable seeing them as well (I'm almost certainly the
primary perpetrator of these throughout [lang]); can Checkstyle handle
not requiring a Javadoc comment for example wherever an @Override
annotation is found?

Matt

>
> There is @Override, but it is omitted in some cases when it is 1.5 or earlier.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Mime
View raw message