You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/03/18 16:46:24 UTC
incubator-tinkerpop git commit: Remove unnecessary variable
declaration in PartitionStrategy.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 86140cdd6 -> 98c65988d
Remove unnecessary variable declaration in PartitionStrategy.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/98c65988
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/98c65988
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/98c65988
Branch: refs/heads/master
Commit: 98c65988dcca740c8d5593199ad8463e41119e3a
Parents: 86140cd
Author: Stephen Mallette <sp...@apache.org>
Authored: Wed Mar 18 11:45:59 2015 -0400
Committer: Stephen Mallette <sp...@apache.org>
Committed: Wed Mar 18 11:45:59 2015 -0400
----------------------------------------------------------------------
.../process/traversal/strategy/decoration/PartitionStrategy.java | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/98c65988/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategy.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategy.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategy.java
index a699c00..53a53c7 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategy.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategy.java
@@ -55,9 +55,6 @@ public class PartitionStrategy extends AbstractTraversalStrategy {
@Override
public void apply(final Traversal.Admin<?, ?> traversal) {
- final Set<String> readPartitionsWithWritePartition = new HashSet<>(readPartitions);
- readPartitionsWithWritePartition.add(writePartition);
-
// no need to add has after mutating steps because we want to make it so that the write partition can
// be independent of the read partition. in other words, i don't need to be able to read from a partition
// in order to write to it.