Skip to content

Commit

Permalink
Replace the Javadoc pattern "A Matcher which matches the XXX characte…
Browse files Browse the repository at this point in the history
…r." 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
  • Loading branch information
garydgregory committed May 2, 2005
1 parent 62746c8 commit a22cada
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/java/org/apache/commons/lang/text/StrTokenizer.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,43 +78,43 @@
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();
Expand Down

0 comments on commit a22cada

Please sign in to comment.