Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: MODIFIED: publish ...

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: MODIFIED: publish ...

Author stack
Full name Michael Stack
Date 2001-06-18 00:02:09 PDT
Message User: stack
  Date: 01/06/18 00:02:09

  Modified: java/org/joist/publish Tag: TIGRIS_1_0 ProxyModule.java
  Log:
  Reuse already gotten HTTPResponse rather than go get it every time.
  
  Revision Changes Path
  No revision
  
  http://joist.tigris.​org/source/browse/jo​ist/java/org/joist/p​ublish/Tag:
  No revision
  
  http://joist.tigris.​org/source/browse/jo​ist/java/org/joist/p​ublish/TIGRIS_1_0
  1.11.6.5 +2 -2 joist/java/org/joist​/publish/ProxyModule​.java
  
  http://joist.tigris.​org/source/browse/jo​ist/java/org/joist/p​ublish/ProxyModule.j​ava.diff?r1=1.11.6.4​&r2=1.11.6.5
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ProxyModule.java
  ====================​====================​====================​=======
  RCS file: /usr/local/tigris/da​ta/helm/cvs/reposito​ry/joist/java/org/jo​ist/publish/ProxyMod​ule.java,v
  retrieving revision 1.11.6.4
  retrieving revision 1.11.6.5
  diff -u -b -r1.11.6.4 -r1.11.6.5
  --- ProxyModule.java 2001/06/18 06:02:00 1.11.6.4
  +++ ProxyModule.java 2001/06/18 07:02:09 1.11.6.5
  @@ -275,10 +275,10 @@
               // noodleData.getHTTPRe​sponse().getInputStr​eam()));
               // i think the above line is more efficient than what
               // HTTPClient.Response is trying to do....ie:
  - data = noodleData.getHTTPRe​sponse().getData();
  + data = httpResponse.getData();
   
               // get the content type
  - ct = noodleData.getHTTPRe​sponse().getHeader("​Content-Type");
  + ct = httpResponse.getHead​er("Content-Type");
               // case for Content-Type: being missing for some reason
               if (ct == null || ct.length() == 0)
                   ct = DEFAULT_CONTENT_TYPE;
  
  
  

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@jois​t.tigris.org
For additional commands, e-mail: cvs-help at joist dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: MODIFIED: publish ... stack Michael Stack 2001-06-18 00:02:09 PDT
Messages per page: