commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sul...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpConnectionManager.java
Date Sun, 29 Sep 2002 21:59:48 GMT
sullis      2002/09/29 14:59:47

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpConnectionManager.java
  Log:
  changed HashMap variables to java.util.Map
  
  Revision  Changes    Path
  1.11      +6 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnectionManager.java
  
  Index: HttpConnectionManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnectionManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- HttpConnectionManager.java	3 Sep 2002 01:36:26 -0000	1.10
  +++ HttpConnectionManager.java	29 Sep 2002 21:59:47 -0000	1.11
  @@ -68,6 +68,7 @@
   import java.net.MalformedURLException;
   import java.net.URL;
   import java.util.HashMap;
  +import java.util.Map;
   import java.util.LinkedList;
   
   /**
  @@ -83,8 +84,8 @@
       private static final Log log = LogFactory.getLog(HttpConnectionManager.class);
   
       // ----------------------------------------------------- Instance Variables
  -    private HashMap mapHosts = new HashMap();
  -    private HashMap mapNumConnections = new HashMap();
  +    private Map mapHosts = new HashMap();
  +    private Map mapNumConnections = new HashMap();
       private int maxConnections = 2;   // Per RFC 2616 sec 8.1.4
       private String proxyHost = null;
       private int proxyPort = -1;
  
  
  

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