jericho     01/04/26 06:52:19

  Modified:    src/webdav/client/src/org/apache/webdav/util URIUtil.java
  Log:
  - Add the comments related the document.
  
  Revision  Changes    Path
  1.4       +19 -19    
jakarta-slide/src/webdav/client/src/org/apache/webdav/util/URIUtil.java
  
  Index: URIUtil.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/util/URIUtil.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- URIUtil.java      2001/04/26 12:39:13     1.3
  +++ URIUtil.java      2001/04/26 13:52:18     1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/util/URIUtil.java,v 
1.3 2001/04/26 12:39:13 jericho Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/04/26 12:39:13 $
  + * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/util/URIUtil.java,v 
1.4 2001/04/26 13:52:18 jericho Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/04/26 13:52:18 $
    *
    * ====================================================================
    *
  @@ -72,7 +72,6 @@
   /**
    * General purpose escaping and unescaping utility methods.
    * For "character encoding", The whole escaped characters must be done.
  - * 
    * It's different between "character encoding" and "escaping of characters".
    *
    * NOTICE: In order to do URI escaping, using the reserved characters defined
  @@ -82,7 +81,8 @@
    * @author Tim Tye
    * @author Remy Maucherat
    * @author Park, Sung-Gu
  - * @version $Revision: 1.3 $ $Date: 2001/04/26 12:39:13 $
  + * @version $Revision: 1.4 $ $Date: 2001/04/26 13:52:18 $
  + * @see <a href=http://www.ietf.org/rfc/rfc2396.txt?number=2396>RFC 2396</a>
    */
   
   public class URIUtil {
  @@ -148,7 +148,7 @@
   
       static {
   
  -        // Save the alphanum URI character that is common to do URI escaping.
  +        // Save the alphanum URI characters that is common to do URI escaping.
           alphanum = new BitSet(128);
           for (int i = 'a'; i <= 'z'; i++) {
               alphanum.set(i);
  @@ -160,7 +160,7 @@
               alphanum.set(i);
           }
   
  -        // Save the reserved URI character within the sheme component.
  +        // Save the reserved URI characters within the sheme component.
           schemeReserved = new BitSet(128);
           /**
            * Actually, this should be any combination of lower case letters,
  @@ -172,7 +172,7 @@
           schemeReserved.set('.');
           schemeReserved.set('-');
   
  -        // Save the reserved URI character within the authority component.
  +        // Save the reserved URI characters within the authority component.
           authorityReserved = new BitSet(128);
           authorityReserved.set(';');
           authorityReserved.set(':');
  @@ -180,7 +180,7 @@
           authorityReserved.set('?');
           authorityReserved.set('/');
   
  -        // Save the reserved URI character within the userinfo component.
  +        // Save the reserved URI characters within the userinfo component.
           userinfoReserved = new BitSet(128);
           userinfoReserved.set(';');
           userinfoReserved.set(':');
  @@ -190,19 +190,19 @@
           userinfoReserved.set('$');
           userinfoReserved.set(',');
   
  -        // Save the reserved URI character within the host component.
  +        // Save the reserved URI characters within the host component.
           hostReserved = new BitSet(128);
           hostReserved.set('.');
           hostReserved.set('-');
   
  -        // Save the reserved URI character within the path component.
  +        // Save the reserved URI characters within the path component.
           pathReserved = new BitSet(128);
           pathReserved.set('/');
           pathReserved.set(';');
           pathReserved.set('=');
           pathReserved.set('?');
   
  -        // Save the reserved URI character within the query component.
  +        // Save the reserved URI characters within the query component.
           queryReserved = new BitSet(128);
           queryReserved.set(';');
           queryReserved.set('/');
  @@ -222,7 +222,7 @@
   
   
       /**
  -     * Get the reserved URI character of alphanum.
  +     * Get the reserved URI character set of alphanum.
        */
       public static BitSet alphanum() {
           return alphanum;
  @@ -230,7 +230,7 @@
       
   
       /**
  -     * Get the reserved URI character of the scheme component.
  +     * Get the reserved URI character set of the scheme component.
        */
       public static BitSet schemeReserved() {
           return schemeReserved;
  @@ -238,7 +238,7 @@
   
   
       /**
  -     * Get the reserved URI character of the authority component.
  +     * Get the reserved URI character set of the authority component.
        */
       public static BitSet authorityReserved() {
           return authorityReserved;
  @@ -246,7 +246,7 @@
   
   
       /**
  -     * Get the reserved URI character of the userinfo component.
  +     * Get the reserved URI character set of the userinfo component.
        */
       public static BitSet userinfoReserved() {
           return userinfoReserved;
  @@ -254,7 +254,7 @@
   
   
       /**
  -     * Get the reserved URI character of the host component.
  +     * Get the reserved URI character set of the host component.
        */
       public static BitSet hostReserved() {
           return hostReserved;
  @@ -262,7 +262,7 @@
   
   
       /**
  -     * Get the reserved URI character of the path component.
  +     * Get the reserved URI character set of the path component.
        */
       public static BitSet pathReserved() {
           return pathReserved;
  @@ -270,7 +270,7 @@
   
   
       /**
  -     * Get the reserved URI character of the query component.
  +     * Get the reserved URI character set of the query component.
        */
       public static BitSet queryReserved() {
           return queryReserved;
  
  
  

Reply via email to