commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcs...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods UrlDeleteMethod.java UrlGetMethod.java UrlHeadMethod.java UrlOptionsMethod.java UrlPostMethod.java UrlPutMethod.java
Date Sun, 21 Apr 2002 02:36:27 GMT
marcsaeg    02/04/20 19:36:27

  Modified:    httpclient/src/java/org/apache/commons/httpclient/methods
                        UrlDeleteMethod.java UrlGetMethod.java
                        UrlHeadMethod.java UrlOptionsMethod.java
                        UrlPostMethod.java UrlPutMethod.java
  Log:
  Removed some more JDK 1.3 dependencies.  Changed calls to URL.getQuery()
  to URIUtil.getQueryString().
  
  Revision  Changes    Path
  1.3       +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java
  
  Index: UrlDeleteMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UrlDeleteMethod.java	28 Mar 2002 03:53:13 -0000	1.2
  +++ UrlDeleteMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java,v
1.2 2002/03/28 03:53:13 marcsaeg Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/03/28 03:53:13 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/04/21 02:36:26 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -105,7 +105,7 @@
       {
           setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = new URL(url).getQuery();
  +        String query = URIUtil.getQueryString(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.3       +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java
  
  Index: UrlGetMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UrlGetMethod.java	28 Mar 2002 03:53:13 -0000	1.2
  +++ UrlGetMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java,v
1.2 2002/03/28 03:53:13 marcsaeg Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/03/28 03:53:13 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/04/21 02:36:26 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -139,7 +139,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = new URL(url).getQuery();
  +        String query = URIUtil.getQueryString(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.3       +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java
  
  Index: UrlHeadMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UrlHeadMethod.java	28 Mar 2002 03:53:13 -0000	1.2
  +++ UrlHeadMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java,v
1.2 2002/03/28 03:53:13 marcsaeg Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/03/28 03:53:13 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/04/21 02:36:26 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -106,7 +106,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = new URL(url).getQuery();
  +        String query = URIUtil.getQueryString(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.3       +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java
  
  Index: UrlOptionsMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UrlOptionsMethod.java	28 Mar 2002 03:53:13 -0000	1.2
  +++ UrlOptionsMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java,v
1.2 2002/03/28 03:53:13 marcsaeg Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/03/28 03:53:13 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/04/21 02:36:26 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -106,7 +106,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = new URL(url).getQuery();
  +        String query = URIUtil.getQueryString(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.3       +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java
  
  Index: UrlPostMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UrlPostMethod.java	28 Mar 2002 03:53:13 -0000	1.2
  +++ UrlPostMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java,v
1.2 2002/03/28 03:53:13 marcsaeg Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/03/28 03:53:13 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/04/21 02:36:26 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -130,7 +130,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = new URL(url).getQuery();
  +        String query = URIUtil.getQueryString(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.3       +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java
  
  Index: UrlPutMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UrlPutMethod.java	28 Mar 2002 03:53:13 -0000	1.2
  +++ UrlPutMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java,v
1.2 2002/03/28 03:53:13 marcsaeg Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/03/28 03:53:13 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/04/21 02:36:26 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -105,7 +105,7 @@
       {
           setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = new URL(url).getQuery();
  +        String query = URIUtil.getQueryString(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  

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


Mime
View raw message