jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1521460 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/NodeDocument.java
Date Tue, 10 Sep 2013 12:23:27 GMT
Author: mreutegg
Date: Tue Sep 10 12:23:26 2013
New Revision: 1521460

URL: http://svn.apache.org/r1521460
Log:
OAK-926: MongoMK: split documents when they are too large
- fix compilation error on Java 6 (hopefully)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/NodeDocument.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/NodeDocument.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/NodeDocument.java?rev=1521460&r1=1521459&r2=1521460&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/NodeDocument.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/NodeDocument.java
Tue Sep 10 12:23:26 2013
@@ -642,7 +642,7 @@ public class NodeDocument extends Docume
             }
         }
         NavigableMap<Revision, String> splitRevs
-                = Maps.newTreeMap(context.getRevisionComparator());
+                = new TreeMap<Revision, String>(context.getRevisionComparator());
         Map<String, String> revisions = getRevisionsMap();
         // only consider if there are enough revisions
         if (revisions.size() > REVISIONS_SPLIT_OFF_SIZE) {



Mime
View raw message