cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r608232 - in /incubator/cxf/branches/2.0.x-fixes: ./ rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDataSource.java
Date Wed, 02 Jan 2008 21:09:07 GMT
Author: dkulp
Date: Wed Jan  2 13:09:06 2008
New Revision: 608232

URL: http://svn.apache.org/viewvc?rev=608232&view=rev
Log:
Merged revisions 605923 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r605923 | mmao | 2007-12-20 08:33:15 -0500 (Thu, 20 Dec 2007) | 3 lines
  
  * Minor Update
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDataSource.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDataSource.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDataSource.java?rev=608232&r1=608231&r2=608232&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDataSource.java
(original)
+++ incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDataSource.java
Wed Jan  2 13:09:06 2008
@@ -31,13 +31,11 @@
 public class AttachmentDataSource implements DataSource {
 
     private final String ct;
-    private final InputStream in;
     private final byte[] cache; 
     
     public AttachmentDataSource(String ctParam, InputStream inParam) throws IOException {
         this.ct = ctParam;
-        this.in = inParam;
-        cache = IOUtils.readBytesFromStream(in);
+        cache = IOUtils.readBytesFromStream(inParam);
     }
 
     public String getContentType() {



Mime
View raw message