You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2015/04/28 00:09:56 UTC
[04/12] curator git commit: CLEAN_THRESHOLD_MS can't be static due to
testing
CLEAN_THRESHOLD_MS can't be static due to testing
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/fa0c9da0
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/fa0c9da0
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/fa0c9da0
Branch: refs/heads/master
Commit: fa0c9da0b022eedc0b0608062433244ad1b3fde5
Parents: f489dfe
Author: randgalt <ra...@apache.org>
Authored: Tue Apr 21 15:23:42 2015 -0500
Committer: randgalt <ra...@apache.org>
Committed: Tue Apr 21 15:23:42 2015 -0500
----------------------------------------------------------------------
.../apache/curator/x/discovery/details/ServiceDiscoveryImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/fa0c9da0/curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceDiscoveryImpl.java
----------------------------------------------------------------------
diff --git a/curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceDiscoveryImpl.java b/curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceDiscoveryImpl.java
index f53c7ce..80b012e 100644
--- a/curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceDiscoveryImpl.java
+++ b/curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceDiscoveryImpl.java
@@ -89,7 +89,7 @@ public class ServiceDiscoveryImpl<T> implements ServiceDiscovery<T>
}
};
- private static final int CLEAN_THRESHOLD_MS = Integer.getInteger("curator-discovery-clean-threshold-ms", (int)TimeUnit.MINUTES.toMillis(5));
+ private final int CLEAN_THRESHOLD_MS = Integer.getInteger("curator-discovery-clean-threshold-ms", (int)TimeUnit.MINUTES.toMillis(5));
private enum State
{