You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2014/02/19 19:52:41 UTC
git commit: ACCUMULO-2324 synchronize on plain old Object,
and not a String
Repository: accumulo
Updated Branches:
refs/heads/1.5.1-SNAPSHOT f6c268e56 -> 39613b4b9
ACCUMULO-2324 synchronize on plain old Object, and not a String
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/39613b4b
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/39613b4b
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/39613b4b
Branch: refs/heads/1.5.1-SNAPSHOT
Commit: 39613b4b9191ddba241726c8efe6e6d51dea53f4
Parents: f6c268e
Author: Eric Newton <er...@gmail.com>
Authored: Wed Feb 19 13:52:09 2014 -0500
Committer: Eric Newton <er...@gmail.com>
Committed: Wed Feb 19 13:52:09 2014 -0500
----------------------------------------------------------------------
.../org/apache/accumulo/server/zookeeper/DistributedWorkQueue.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/39613b4b/server/src/main/java/org/apache/accumulo/server/zookeeper/DistributedWorkQueue.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/zookeeper/DistributedWorkQueue.java b/server/src/main/java/org/apache/accumulo/server/zookeeper/DistributedWorkQueue.java
index b842e09..c5a9528 100644
--- a/server/src/main/java/org/apache/accumulo/server/zookeeper/DistributedWorkQueue.java
+++ b/server/src/main/java/org/apache/accumulo/server/zookeeper/DistributedWorkQueue.java
@@ -219,7 +219,7 @@ public class DistributedWorkQueue {
public void waitUntilDone(Set<String> workIDs) throws KeeperException, InterruptedException {
- final String condVar = "cond";
+ final Object condVar = new Object();
Watcher watcher = new Watcher() {
@Override