jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1458838 - /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoDocumentStore.java
Date Wed, 20 Mar 2013 14:07:09 GMT
Author: mreutegg
Date: Wed Mar 20 14:07:08 2013
New Revision: 1458838

URL: http://svn.apache.org/r1458838
Log:
OAK-619 Lock-free MongoMK implementation
- do not convert value to String, but rather use as is to retain type

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoDocumentStore.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoDocumentStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoDocumentStore.java?rev=1458838&r1=1458837&r2=1458838&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoDocumentStore.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoDocumentStore.java
Wed Mar 20 14:07:08 2013
@@ -267,7 +267,7 @@ public class MongoDocumentStore implemen
                     case SET_MAP_ENTRY:
                     case ADD_MAP_ENTRY: {
                         String[] kv = k.split("\\.");
-                        DBObject value = new BasicDBObject(kv[1], op.value.toString());
+                        DBObject value = new BasicDBObject(kv[1], op.value);
                         inserts[i].put(kv[0], value);
                         break;
                     }



Mime
View raw message