abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r429447 - /incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCachedResponse.java
Date Mon, 07 Aug 2006 19:38:55 GMT
Author: jmsnell
Date: Mon Aug  7 12:38:54 2006
New Revision: 429447

URL: http://svn.apache.org/viewvc?rev=429447&view=rev
Log:
I'm either going to stop making silly stupid little mistakes today or I'm going to take the
rest of the day off.
Fixing an oops on the in-memory buffer

Modified:
    incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCachedResponse.java

Modified: incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCachedResponse.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCachedResponse.java?rev=429447&r1=429446&r2=429447&view=diff
==============================================================================
--- incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCachedResponse.java
(original)
+++ incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCachedResponse.java
Mon Aug  7 12:38:54 2006
@@ -92,7 +92,7 @@
     while((m = in.read(buf)) != -1) {
       out.write(buf,0,m);
     }
-    this.buf = buf;
+    this.buf = out.toByteArray();
   }
   
   private Map<String,List<String>> getHeaders() {



Mime
View raw message