commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r165694 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
Date Mon, 02 May 2005 21:16:59 GMT
Author: ggregory
Date: Mon May  2 14:16:58 2005
New Revision: 165694

URL: http://svn.apache.org/viewcvs?rev=165694&view=rev
Log:
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”.)

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=165694&r1=165693&r2=165694&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
Mon May  2 14:16:58 2005
@@ -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();



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message