commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsde...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient TestWebappMultiPostMethod.java
Date Thu, 20 Feb 2003 03:14:02 GMT
jsdever     2003/02/19 19:14:01

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        MultiThreadedHttpConnectionManager.java
               httpclient/src/test/org/apache/commons/httpclient
                        TestWebappMultiPostMethod.java
  Log:
  Minor adjustments to allow for building under jdk1.2.2
  
  Revision  Changes    Path
  1.10      +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
  
  Index: MultiThreadedHttpConnectionManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- MultiThreadedHttpConnectionManager.java	20 Feb 2003 01:03:56 -0000	1.9
  +++ MultiThreadedHttpConnectionManager.java	20 Feb 2003 03:14:01 -0000	1.10
  @@ -105,13 +105,13 @@
       private int maxConnections = 2;   // Per RFC 2616 sec 8.1.4
   
       /** mapping from reference to hostConfiguration */
  -    private final Map referenceToHostConfig;
  +    private Map referenceToHostConfig;
   
       /**
        * the reference queue used to track when HttpConnections are lost to the
        * garbage collector
        */
  -    private final ReferenceQueue referenceQueue;
  +    private ReferenceQueue referenceQueue;
   
       /**
        * No-args constructor
  
  
  
  1.2       +4 -4      jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestWebappMultiPostMethod.java
  
  Index: TestWebappMultiPostMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestWebappMultiPostMethod.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestWebappMultiPostMethod.java	12 Feb 2003 12:30:44 -0000	1.1
  +++ TestWebappMultiPostMethod.java	20 Feb 2003 03:14:01 -0000	1.2
  @@ -125,7 +125,7 @@
        */
       public void testPostFilePart() throws Exception {
           MultipartPostMethod method = new MultipartPostMethod(bodyUrl);
  -        byte[] content = new byte[] {'H', 'e', 'l', 'l', 'o' };
  +        byte[] content = "Hello".getBytes();
           method.addPart(
             new FilePart(
               "param1", 
  
  
  

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