chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r999426 - /incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/ClientHelper.java
Date Tue, 21 Sep 2010 14:13:55 GMT
Author: fguillaume
Date: Tue Sep 21 14:13:54 2010
New Revision: 999426

URL: http://svn.apache.org/viewvc?rev=999426&view=rev
Log:
Fixed file download when using AtomPub

Modified:
    incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/ClientHelper.java

Modified: incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/ClientHelper.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/ClientHelper.java?rev=999426&r1=999425&r2=999426&view=diff
==============================================================================
--- incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/ClientHelper.java
(original)
+++ incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/ClientHelper.java
Tue Sep 21 14:13:54 2010
@@ -153,7 +153,7 @@ public class ClientHelper {
                 filename = "document";
             }
 
-            File tempFile = ClientHelper.createTempFile(doc.getContentStreamFileName());
+            File tempFile = ClientHelper.createTempFile(filename);
             outStream = new FileOutputStream(tempFile);
 
             byte[] buffer = new byte[4096];



Mime
View raw message