jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meteata...@apache.org
Subject svn commit: r1415124 - in /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl: command/CommitCommand.java model/MongoNode.java
Date Thu, 29 Nov 2012 11:13:04 GMT
Author: meteatamel
Date: Thu Nov 29 11:13:03 2012
New Revision: 1415124

URL: http://svn.apache.org/viewvc?rev=1415124&view=rev
Log:
Minor update to remove baseRevId from nodes. It's currently not used anywhere.

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/CommitCommand.java
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/model/MongoNode.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/CommitCommand.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/CommitCommand.java?rev=1415124&r1=1415123&r2=1415124&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/CommitCommand.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/CommitCommand.java
Thu Nov 29 11:13:03 2012
@@ -186,8 +186,6 @@ public class CommitCommand extends BaseC
                         logger.debug("Merged children for {}: {}", existingNode.getPath(),
existingChildren);
                     }
 
-                    committingNode.setBaseRevisionId(existingNode.getRevisionId());
-
                     logger.debug("Merged node for {}: {}", existingNode.getPath(), committingNode);
 
                     break;

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/model/MongoNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/model/MongoNode.java?rev=1415124&r1=1415123&r2=1415124&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/model/MongoNode.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/model/MongoNode.java
Thu Nov 29 11:13:03 2012
@@ -31,7 +31,6 @@ import com.mongodb.BasicDBObject;
  */
 public class MongoNode extends BasicDBObject {
 
-    public static final String KEY_BASE_REVISION_ID = "baseRevId";
     public static final String KEY_CHILDREN = "children";
     public static final String KEY_PATH = "path";
     public static final String KEY_PROPERTIES = "props";
@@ -81,10 +80,6 @@ public class MongoNode extends BasicDBOb
     //
     //--------------------------------------------------------------------------
 
-    public void setBaseRevisionId(long baseRevisionId) {
-        put(KEY_BASE_REVISION_ID, baseRevisionId);
-    }
-
     public String getBranchId() {
         return getString(KEY_BRANCH_ID);
     }



Mime
View raw message