jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r348978 - /incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/fs/db/DbFileSystem.java
Date Fri, 25 Nov 2005 16:26:59 GMT
Author: stefan
Date: Fri Nov 25 08:26:55 2005
New Revision: 348978

URL: http://svn.apache.org/viewcvs?rev=348978&view=rev
Log:
DbFileSystem.copy() did only copy folders

Modified:
    incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/fs/db/DbFileSystem.java

Modified: incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/fs/db/DbFileSystem.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/fs/db/DbFileSystem.java?rev=348978&r1=348977&r2=348978&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/fs/db/DbFileSystem.java
(original)
+++ incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/fs/db/DbFileSystem.java
Fri Nov 25 08:26:55 2005
@@ -1287,8 +1287,8 @@
         PreparedStatement stmt = copyFilesStmt;
         synchronized (stmt) {
             try {
-                stmt.setString(1, srcPath);
-                stmt.setString(2, destPath);
+                stmt.setString(1, destPath);
+                stmt.setString(2, srcPath);
                 stmt.executeUpdate();
             } catch (Exception e) {
                 String msg = "failed to copy file entries from " + srcPath + " to " + destPath;



Mime
View raw message