commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-commons-sandbox/http/src/java/org/apache/commons/http HttpHeaderTokenizer.java
Date Fri, 11 Apr 2003 21:16:04 GMT
dlr         2003/04/11 14:16:04

  Modified:    http/src/java/org/apache/commons/http
                        HttpHeaderTokenizer.java
  Log:
  * http/src/java/org/apache/commons/http/HttpHeaderTokenizer.java
    Removed unnecessary import of Locale.
  
    hasNext(), next(): Corrected JavaDoc.
  
  Revision  Changes    Path
  1.2       +3 -5      jakarta-commons-sandbox/http/src/java/org/apache/commons/http/HttpHeaderTokenizer.java
  
  Index: HttpHeaderTokenizer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/http/src/java/org/apache/commons/http/HttpHeaderTokenizer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- HttpHeaderTokenizer.java	11 Apr 2003 21:13:10 -0000	1.1
  +++ HttpHeaderTokenizer.java	11 Apr 2003 21:16:04 -0000	1.2
  @@ -7,7 +7,6 @@
   import java.util.ArrayList;
   import java.util.Collections;
   import java.util.Iterator;
  -import java.util.Locale;
   import java.util.NoSuchElementException;
   import java.util.StringTokenizer;
   
  @@ -98,7 +97,7 @@
       }
   
       /**
  -     * @return Whether there are more headerElements.
  +     * @return Whether there are more header elements.
        */
       public boolean hasNext()
       {
  @@ -106,11 +105,10 @@
       }
   
       /**
  -     * Creates a <code>Locale</code> from the next element of the HTTP
  -     * header.
  +     * Returns the next element of the HTTP header.
        *
        * @return The next highest-rated <code>Locale</code>.
  -     * @throws NoSuchElementException No more headerElements.
  +     * @throws NoSuchElementException No more header elements.
        */
       public Object next()
       {
  
  
  

---------------------------------------------------------------------
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