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/03/25 15:02:33 UTC
git commit: ACCUMULO-2419 remove warnings about accessing a static in
a static way
Repository: accumulo
Updated Branches:
refs/heads/master b8b982e77 -> 2412419af
ACCUMULO-2419 remove warnings about accessing a static in a static way
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/2412419a
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/2412419a
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/2412419a
Branch: refs/heads/master
Commit: 2412419afe54d797af59ff9cf1cf182484c14b3c
Parents: b8b982e
Author: Eric C. Newton <er...@gmail.com>
Authored: Tue Mar 25 10:02:40 2014 -0400
Committer: Eric C. Newton <er...@gmail.com>
Committed: Tue Mar 25 10:02:40 2014 -0400
----------------------------------------------------------------------
.../java/org/apache/accumulo/server/util/time/SimpleTimer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/2412419a/server/base/src/main/java/org/apache/accumulo/server/util/time/SimpleTimer.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/util/time/SimpleTimer.java b/server/base/src/main/java/org/apache/accumulo/server/util/time/SimpleTimer.java
index b8f7f6d..bc1d652 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/util/time/SimpleTimer.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/util/time/SimpleTimer.java
@@ -65,9 +65,9 @@ public class SimpleTimer {
public static synchronized SimpleTimer getInstance(int threadPoolSize) {
if (instance == null) {
instance = new SimpleTimer(threadPoolSize);
- instance.instanceThreadPoolSize = threadPoolSize;
+ SimpleTimer.instanceThreadPoolSize = threadPoolSize;
} else {
- if (instance.instanceThreadPoolSize != threadPoolSize) {
+ if (SimpleTimer.instanceThreadPoolSize != threadPoolSize) {
log.warn("Asked to create SimpleTimer with thread pool size " +
threadPoolSize + ", existing instance has " +
instanceThreadPoolSize);