public @Override boolean bucket(NodeRef leftParent, NodeRef rightParent, BucketIndex bucketIndex, @Nullable Bucket left, @Nullable Bucket right) { if (rightParent == null || right == null) { // not interested in purely deleted content return false; } // which "old" object the "new" bucket is being compared against. final ObjectId leftId = bucketIndex.left().getId(); boolean r = addBucket(progress, leftId, right); return r; }
public @Override boolean bucket(NodeRef leftParent, NodeRef rightParent, BucketIndex bucketIndex, @Nullable Bucket left, @Nullable Bucket right) { if (rightParent == null || right == null) { // not interested in purely deleted content return false; } // which "old" object the "new" bucket is being compared against. final ObjectId leftId = bucketIndex.left().getId(); boolean r = addBucket(progress, leftId, right); return r; }
@Override public boolean bucket(NodeRef leftParent, NodeRef rightParent, BucketIndex bucketIndex, @Nullable Bucket left, @Nullable Bucket right) { if (bucketIndex.left().isEmpty() || bucketIndex.right().isEmpty()) { Bucket bucket = left == null ? right : left; addTreeFeatures(bucket.getObjectId(), left != null, right != null); return false; } return true; }
@Override public boolean bucket(NodeRef leftParent, NodeRef rightParent, BucketIndex bucketIndex, @Nullable Bucket left, @Nullable Bucket right) { if (bucketIndex.left().isEmpty() || bucketIndex.right().isEmpty()) { Bucket bucket = left == null ? right : left; RevTree tree = (left == null ? rightSource : leftSource).getTree(bucket.getObjectId()); addTreeFeatures(tree, left != null, right != null); return false; } return true; }