8073692: (cs) Inconsistent docs for CharsetDecoder.replaceWith and CharsetEncoder.replaceWith

Reviewed-by: martin
This commit is contained in:
Ivan Gerasimov 2015-03-06 13:30:49 +03:00
parent 02614afbd1
commit b035ca7348

View File

@ -266,16 +266,15 @@ public abstract class Charset$Coder$ {
* method, passing the new replacement, after checking that the new * method, passing the new replacement, after checking that the new
* replacement is acceptable. </p> * replacement is acceptable. </p>
* *
* @param newReplacement The replacement value * @param newReplacement The new replacement; must not be
* * <tt>null</tt>, must have non-zero length,
#if[decoder] #if[decoder]
* The new replacement; must not be <tt>null</tt> * and must not be longer than the value returned by the
* and must have non-zero length * {@link #max$ItypesPerOtype$() max$ItypesPerOtype$} method
#end[decoder] #end[decoder]
#if[encoder] #if[encoder]
* The new replacement; must not be <tt>null</tt>, must have * must not be longer than the value returned by the
* non-zero length, must not be longer than the value returned by * {@link #max$ItypesPerOtype$() max$ItypesPerOtype$} method, and
* the {@link #max$ItypesPerOtype$() max$ItypesPerOtype$} method, and
* must be {@link #isLegalReplacement legal} * must be {@link #isLegalReplacement legal}
#end[encoder] #end[encoder]
* *