curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [26/50] curator git commit: CLEAN_THRESHOLD_MS can't be static due to testing
Date Wed, 06 May 2015 04:56:23 GMT
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/CURATOR-160
Commit: fa0c9da0b022eedc0b0608062433244ad1b3fde5
Parents: f489dfe
Author: randgalt <randgalt@apache.org>
Authored: Tue Apr 21 15:23:42 2015 -0500
Committer: randgalt <randgalt@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
     {


Mime
View raw message