fix typos in comments
This commit is contained in:
parent
713c77ceda
commit
0dc5b94a0d
|
@ -1194,7 +1194,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
|
||||||
public <T> StrBuilder appendAll(@SuppressWarnings("unchecked") final T... array) {
|
public <T> StrBuilder appendAll(@SuppressWarnings("unchecked") final T... array) {
|
||||||
/*
|
/*
|
||||||
* @SuppressWarnings used to hide warning about vararg usage. We cannot
|
* @SuppressWarnings used to hide warning about vararg usage. We cannot
|
||||||
* use @SafeVarargs, since this method is not final. Using @SupressWarnings
|
* use @SafeVarargs, since this method is not final. Using @SuppressWarnings
|
||||||
* is fine, because it isn't inherited by subclasses, so each subclass must
|
* is fine, because it isn't inherited by subclasses, so each subclass must
|
||||||
* vouch for itself whether its use of 'array' is safe.
|
* vouch for itself whether its use of 'array' is safe.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -853,7 +853,7 @@ public class StrTokenizer implements ListIterator<String>, Cloneable {
|
||||||
/**
|
/**
|
||||||
* Sets the field delimiter matcher.
|
* Sets the field delimiter matcher.
|
||||||
* <p>
|
* <p>
|
||||||
* The delimitier is used to separate one token from another.
|
* The delimiter is used to separate one token from another.
|
||||||
*
|
*
|
||||||
* @param delim the delimiter matcher to use
|
* @param delim the delimiter matcher to use
|
||||||
* @return this, to enable chaining
|
* @return this, to enable chaining
|
||||||
|
|
Loading…
Reference in New Issue