commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbe...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpHost.java
Date Thu, 07 Oct 2004 00:36:25 GMT
mbecke      2004/10/06 17:36:25

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpHost.java
  Log:
  Removed unnecessary synchronized keywords.
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpHost.java
  
  Index: HttpHost.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpHost.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HttpHost.java	6 Oct 2004 17:32:03 -0000	1.1
  +++ HttpHost.java	7 Oct 2004 00:36:25 -0000	1.2
  @@ -139,7 +139,7 @@
        * 
        * @return the host port, or <code>-1</code> if not set
        */
  -    public synchronized int getPort() {
  +    public int getPort() {
           return this.port;
       }
   
  @@ -147,7 +147,7 @@
        * Returns the protocol.
        * @return The protocol.
        */
  -    public synchronized Protocol getProtocol() {
  +    public Protocol getProtocol() {
           return this.protocol;
       }
   
  
  
  

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