You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2011/01/10 22:15:34 UTC

svn commit: r1057367 - /commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java

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) {



Re: svn commit: r1057367 - /commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java

Posted by Niall Pemberton <ni...@gmail.com>.
On Mon, Jan 10, 2011 at 9:27 PM, sebb <se...@gmail.com> wrote:
> On 10 January 2011 21:15,  <ni...@apache.org> wrote:
>> 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
>
> Sorry, I thought I had done that, but the commit failed due to other
> updates and I did not notice.
> [Subclipse/SVNkit merely reports "skipped" in the SVN log - earlier
> versions used to raise an error. I need to switch to JavaHL ...]

Hey no worries :)

Niall

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


Re: svn commit: r1057367 - /commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/text/ExtendedMessageFormat.java

Posted by sebb <se...@gmail.com>.
On 10 January 2011 21:15,  <ni...@apache.org> wrote:
> 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

Sorry, I thought I had done that, but the commit failed due to other
updates and I did not notice.
[Subclipse/SVNkit merely reports "skipped" in the SVN log - earlier
versions used to raise an error. I need to switch to JavaHL ...]

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