Replace the Javadoc pattern "A Matcher which matches the XXX character." with "Matches the XXX character.". (A matcher matches of course ;-) Use the active voice or “third-person verb form”, I only know it is called the “third-person verb form” because I read it in the most excellent tiny little book “The Elements of Java Style”.)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2005-05-02 21:16:58 +00:00
parent 62746c899f
commit a22cada514
1 changed files with 8 additions and 8 deletions

View File

@ -78,43 +78,43 @@ import java.util.ListIterator;
public class StrTokenizer implements ListIterator, Cloneable {
/**
* A Matcher which matches the comma character.
* Matches the comma character.
* Best used for <code>delimiter</code>.
*/
public static final Matcher COMMA_MATCHER = new CharMatcher(',');
/**
* A Matcher which matches the tab character.
* Matches the tab character.
* Best used for <code>delimiter</code>.
*/
public static final Matcher TAB_MATCHER = new CharMatcher('\t');
/**
* A Matcher which matches the space character.
* Matches the space character.
* Best used for <code>delimiter</code>.
*/
public static final Matcher SPACE_MATCHER = new CharMatcher(' ');
/**
* A Matcher which matches the same characters as StringTokenizer,
* Matches the same characters as StringTokenizer,
* namely space, tab, newline, formfeed.
* Best used for <code>delimiter</code>.
*/
public static final Matcher SPLIT_MATCHER = createCharSetMatcher(" \t\n\r\f");
/**
* A Matcher which matches the double quote character.
* Matches the double quote character.
* Best used for <code>quote</code>.
*/
public static final Matcher SINGLE_QUOTE_MATCHER = new CharMatcher('\'');
/**
* A Matcher which matches the double quote character.
* Matches the double quote character.
* Best used for <code>quote</code>.
*/
public static final Matcher DOUBLE_QUOTE_MATCHER = new CharMatcher('"');
/**
* A Matcher which matches the String trim() whitespace characters.
* Matches the String trim() whitespace characters.
* Best used for <code>trimmer</code>.
*/
public static final Matcher TRIM_MATCHER = new TrimMatcher();
/**
* A Matcher that matches no characters. Don't use this for delimiters!
* Matches no characters. Don't use this for delimiters!
* Best used for <code>trimmer</code>.
*/
public static final Matcher NONE_MATCHER = new NoMatcher();