You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/01/28 19:46:10 UTC

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

Author: sebb
Date: Thu Jan 28 18:46:10 2010
New Revision: 904211

URL: http://svn.apache.org/viewvc?rev=904211&view=rev
Log:
Use Eclipse-style comment to document switch fall-through
Javadoc fixes

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=904211&r1=904210&r2=904211&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 Thu Jan 28 18:46:10 2010
@@ -182,7 +182,7 @@
                     throw new IllegalArgumentException(
                             "Unreadable format element at position " + start);
                 }
-                // fall through
+                //$FALL-THROUGH$
             default:
                 stripCustom.append(c[pos.getIndex()]);
                 next(pos);
@@ -214,7 +214,6 @@
     }
 
     /**
-     * {@inheritDoc}
      * @throws UnsupportedOperationException
      */
     public void setFormatByArgumentIndex(int argumentIndex, Format newFormat) {
@@ -230,7 +229,6 @@
     }
 
     /**
-     * {@inheritDoc}
      * @throws UnsupportedOperationException
      */
     public void setFormatsByArgumentIndex(Format[] newFormats) {
@@ -369,7 +367,7 @@
                 break;
             case END_FE:
                 depth--;
-                //fall through:
+                //$FALL-THROUGH$
             default:
                 sb.append(c);
                 next(pos);