fix typos in comments

This commit is contained in:
pascalschumacher 2017-10-12 20:38:14 +02:00
parent 713c77ceda
commit 0dc5b94a0d
2 changed files with 2 additions and 2 deletions

View File

@ -1194,7 +1194,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
public <T> StrBuilder appendAll(@SuppressWarnings("unchecked") final T... array) {
/*
* @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
* vouch for itself whether its use of 'array' is safe.
*/

View File

@ -853,7 +853,7 @@ public class StrTokenizer implements ListIterator<String>, Cloneable {
/**
* Sets the field delimiter matcher.
* <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
* @return this, to enable chaining