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/params DefaultHttpParamsFactory.java
Date Wed, 13 Oct 2004 00:56:56 GMT
mbecke      2004/10/12 17:56:56

  Modified:    httpclient/src/java/org/apache/commons/httpclient/params
                        DefaultHttpParamsFactory.java
  Log:
  Make DefaultHttpParamsFactory.getDefaultParams() synchronized.
  PR: 31680
  Submitted by: Michael Becke
  
  Revision  Changes    Path
  1.14      +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
  
  Index: DefaultHttpParamsFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- DefaultHttpParamsFactory.java	19 Sep 2004 19:37:07 -0000	1.13
  +++ DefaultHttpParamsFactory.java	13 Oct 2004 00:56:56 -0000	1.14
  @@ -57,7 +57,7 @@
       /* (non-Javadoc)
        * @see org.apache.commons.httpclient.params.HttpParamsFactory#getDefaultParams()
        */
  -    public HttpParams getDefaultParams() {
  +    public synchronized HttpParams getDefaultParams() {
           if (httpParams == null) {
               httpParams = createParams();
           }
  
  
  

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