CURATOR-116 - Made the getDelay() method private, as it does not need to
be protected.

Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/fdc56009
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/fdc56009
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/fdc56009

Branch: refs/heads/master
Commit: fdc5600953c29e0cdcfe16396b27d1b447e13380
Parents: 1103f47
Author: Cameron McKenzie <[email protected]>
Authored: Thu Jun 26 08:51:58 2014 +1000
Committer: Cameron McKenzie <[email protected]>
Committed: Thu Jun 26 08:51:58 2014 +1000

----------------------------------------------------------------------
 .../curator/framework/recipes/queue/DistributedDelayQueue.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/fdc56009/curator-recipes/src/main/java/org/apache/curator/framework/recipes/queue/DistributedDelayQueue.java
----------------------------------------------------------------------
diff --git 
a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/queue/DistributedDelayQueue.java
 
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/queue/DistributedDelayQueue.java
index bd90e71..ff39f42 100644
--- 
a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/queue/DistributedDelayQueue.java
+++ 
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/queue/DistributedDelayQueue.java
@@ -83,7 +83,7 @@ public class DistributedDelayQueue<T> implements Closeable, 
QueueBase<T>
                 return getDelay(itemNode, System.currentTimeMillis());
             }
             
-            protected long getDelay(String itemNode, long sortTime)
+            private long getDelay(String itemNode, long sortTime)
             {               
                 long epoch = getEpoch(itemNode);
                 return epoch - sortTime;

Reply via email to