commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oglu...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/server RequestLine.java
Date Mon, 24 Nov 2003 20:39:26 GMT
oglueck     2003/11/24 12:39:26

  Modified:    httpclient/src/test/org/apache/commons/httpclient/server
                        Tag: HTTPCLIENT_2_0_BRANCH RequestLine.java
  Log:
  made immutable
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.2   +4 -15     jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/server/Attic/RequestLine.java
  
  Index: RequestLine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/server/Attic/RequestLine.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- RequestLine.java	18 Nov 2003 12:26:38 -0000	1.1.2.1
  +++ RequestLine.java	24 Nov 2003 20:39:26 -0000	1.1.2.2
  @@ -68,6 +68,7 @@
   
   /**
    * Defines a HTTP request-line, consisting of method name, URI and protocol.
  + * Instances of this class are immutable.
    * 
    * @author Christian Kohlschuetter
    */
  @@ -107,18 +108,6 @@
           return uri;
       }
   
  -    public void setMethod(String string) {
  -        method = string;
  -    }
  -
  -    public void setProtocol(String string) {
  -        protocol = string;
  -    }
  -
  -    public void setUri(String string) {
  -        uri = string;
  -    }
  -    
       public String toString() {
           StringBuffer sb = new StringBuffer();
           if(method != null) {
  
  
  

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