Author: niallp Date: Mon Jan 10 21:15:33 2011 New Revision: 1057367 URL: http://svn.apache.org/viewvc?rev=1057367&view=rev Log: port r1057352 to LANG 2.x branch - Fix up Javadoc for unsupported methods
Modified: commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java Modified: commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java?rev=1057367&r1=1057366&r2=1057367&view=diff ============================================================================== --- commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java (original) +++ commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java Mon Jan 10 21:15:33 2011 @@ -47,7 +47,7 @@ import org.apache.commons.lang.Validate; * found is used for this format element. * </p> * - * <p>NOTICE: The various subformat mutator methods are considered unnecessary; they exist on the parent + * <p><b>NOTICE:</b>: The various subformat mutator methods are considered unnecessary; they exist on the parent * class to allow the type of customization which it is the job of this class to provide in * a configurable fashion. These methods have thus been disabled and will throw * <code>UnsupportedOperationException</code> if called. @@ -206,7 +206,10 @@ public class ExtendedMessageFormat exten } /** - * {...@inheritdoc} + * Throws UnsupportedOperationException - see class Javadoc for details. + * + * @param formatElementIndex format element index + * @param newFormat the new format * @throws UnsupportedOperationException */ public void setFormat(int formatElementIndex, Format newFormat) { @@ -214,7 +217,10 @@ public class ExtendedMessageFormat exten } /** - * {...@inheritdoc} + * Throws UnsupportedOperationException - see class Javadoc for details. + * + * @param argumentIndex argument index + * @param newFormat the new format * @throws UnsupportedOperationException */ public void setFormatByArgumentIndex(int argumentIndex, Format newFormat) { @@ -222,7 +228,9 @@ public class ExtendedMessageFormat exten } /** - * {...@inheritdoc} + * Throws UnsupportedOperationException - see class Javadoc for details. + * + * @param newFormats new formats * @throws UnsupportedOperationException */ public void setFormats(Format[] newFormats) { @@ -230,7 +238,9 @@ public class ExtendedMessageFormat exten } /** - * {...@inheritdoc} + * Throws UnsupportedOperationException - see class Javadoc for details. + * + * @param newFormats new formats * @throws UnsupportedOperationException */ public void setFormatsByArgumentIndex(Format[] newFormats) {