jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meteata...@apache.org
Subject svn commit: r1421762 - /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/NodeExistsCommand.java
Date Fri, 14 Dec 2012 09:26:06 GMT
Author: meteatamel
Date: Fri Dec 14 09:26:05 2012
New Revision: 1421762

URL: http://svn.apache.org/viewvc?rev=1421762&view=rev
Log:
Removed an unused method

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

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/NodeExistsCommand.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/NodeExistsCommand.java?rev=1421762&r1=1421761&r2=1421762&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/NodeExistsCommand.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/NodeExistsCommand.java
Fri Dec 14 09:26:05 2012
@@ -17,13 +17,11 @@
 package org.apache.jackrabbit.mongomk.impl.command;
 
 import java.util.HashSet;
-import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
 import org.apache.jackrabbit.mongomk.impl.MongoNodeStore;
 import org.apache.jackrabbit.mongomk.impl.action.FetchNodesActionNew;
-import org.apache.jackrabbit.mongomk.impl.model.MongoCommit;
 import org.apache.jackrabbit.mongomk.impl.model.MongoNode;
 import org.apache.jackrabbit.oak.commons.PathUtils;
 
@@ -35,7 +33,6 @@ public class NodeExistsCommand extends B
     private Long revisionId;
     private String branchId;
     private String path;
-    private List<MongoCommit> validCommits;
     private MongoNode node;
 
     /**
@@ -60,16 +57,6 @@ public class NodeExistsCommand extends B
         this.branchId = branchId;
     }
 
-    /**
-     * Sets the last valid commits if already known. This is an optimization to
-     * speed up the fetch nodes action.
-     *
-     * @param commits The last valid commits.
-     */
-    public void setValidCommits(List<MongoCommit> validCommits) {
-        this.validCommits = validCommits;
-    }
-
     @Override
     public Boolean execute() throws Exception {
         // To check a path really exists, all the paths from root need to be checked.



Mime
View raw message