On 6 April 2014 11:43, <brit...@apache.org> wrote: > Author: britter > Date: Sun Apr 6 10:43:47 2014 > New Revision: 1585282 > > URL: http://svn.apache.org/r1585282 > Log: > No need to repeat JavaDoc of hashCode method > > Modified: > > commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/ExtendedMessageFormat.java > > Modified: > commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/ExtendedMessageFormat.java > URL: > http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/ExtendedMessageFormat.java?rev=1585282&r1=1585281&r2=1585282&view=diff > ============================================================================== > --- > commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/ExtendedMessageFormat.java > (original) > +++ > commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/ExtendedMessageFormat.java > Sun Apr 6 10:43:47 2014 > @@ -284,9 +284,7 @@ public class ExtendedMessageFormat exten > } > > /** > - * Return the hashcode. > - * > - * @return the hashcode > + * {@inheritDoc} > */
AFAIK there's no need to use @inheritdoc on its own. AIUI the point of @inheritdoc is to import the parent doc and supplement it locally. If there is nothing to add, then one can leave out the Javadoc block entirely. > @SuppressWarnings( "deprecation" ) // ObjectUtils.hashCode(Object) has > been deprecated in 3.2 > @Override > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org