jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1559714 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java
Date Mon, 20 Jan 2014 14:46:38 GMT
Author: alexparvulescu
Date: Mon Jan 20 14:46:38 2014
New Revision: 1559714

URL: http://svn.apache.org/r1559714
Log:
OAK-1334 TarFile initialized with wrong maxFileSize
 - patch by Dominique Pfister

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java?rev=1559714&r1=1559713&r2=1559714&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java
Mon Jan 20 14:46:38 2014
@@ -114,7 +114,7 @@ public class FileStore extends AbstractS
             String name = String.format(FILE_NAME_FORMAT, "bulk", i);
             File file = new File(directory, name);
             if (file.isFile()) {
-                bulkFiles.add(new TarFile(file, maxFileSizeMB, memoryMapping));
+                bulkFiles.add(new TarFile(file, maxFileSize, memoryMapping));
             } else {
                 break;
             }
@@ -124,7 +124,7 @@ public class FileStore extends AbstractS
             String name = String.format(FILE_NAME_FORMAT, "data", i);
             File file = new File(directory, name);
             if (file.isFile()) {
-                dataFiles.add(new TarFile(file, maxFileSizeMB, memoryMapping));
+                dataFiles.add(new TarFile(file, maxFileSize, memoryMapping));
             } else {
                 break;
             }



Mime
View raw message