jericho     2002/09/09 04:03:16

  Modified:    src/util/org/apache/util URI.java
  Log:
  - Oops... It doesn't need to have the frag even for the fragment...
    So remove things to the fragment.
  
  Revision  Changes    Path
  1.18      +4 -10     jakarta-slide/src/util/org/apache/util/URI.java
  
  Index: URI.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/util/org/apache/util/URI.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- URI.java  9 Sep 2002 10:56:37 -0000       1.17
  +++ URI.java  9 Sep 2002 11:03:16 -0000       1.18
  @@ -1346,9 +1346,6 @@
       protected boolean _is_hostname;
       protected boolean _is_IPv4address;
       protected boolean _is_IPv6reference;
  -    // query
  -    // fragment
  -    protected boolean _is_fragment;
   
       // ------------------------------------------ Character and escape encoding
       
  @@ -1762,8 +1759,6 @@
           if (0 <= at && at+1 < length && tmp.charAt(at) == '#') {
               _fragment = (escaped) ? tmp.substring(at + 1).toCharArray() :
               encode(tmp.substring(at + 1), allowed_fragment);
  -            // Set flag
  -            _is_fragment = true;
           }
   
           // set this URI.
  @@ -3039,7 +3034,6 @@
           instance._is_hostname = _is_hostname;
           instance._is_IPv4address = _is_IPv4address;
           instance._is_IPv6reference = _is_IPv6reference;
  -        instance._is_fragment = _is_fragment;
   
           return instance;
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to