jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1071623 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/IOUtil.java
Date Thu, 17 Feb 2011 14:36:32 GMT
Author: angela
Date: Thu Feb 17 14:36:32 2011
New Revision: 1071623

URL: http://svn.apache.org/viewvc?rev=1071623&view=rev
Log:
JCR-2876 - org.apache.jackrabbit.server.io.IOUtil getTempFile misses dot in tmp suffix

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/IOUtil.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/IOUtil.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/IOUtil.java?rev=1071623&r1=1071622&r2=1071623&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/IOUtil.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/IOUtil.java
Thu Feb 17 14:36:32 2011
@@ -165,7 +165,7 @@ public class IOUtil {
             return null;
         }
         // we need a tmp file, since the import could fail
-        File tmpFile = File.createTempFile("__importcontext", "tmp");
+        File tmpFile = File.createTempFile("__importcontext", ".tmp");
         FileOutputStream out = new FileOutputStream(tmpFile);
         byte[] buffer = new byte[8192];
         int read;



Mime
View raw message