accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-2419 remove warnings about accessing a static in a static way
Date Tue, 25 Mar 2014 14:02:33 GMT
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 <eric.newton@gmail.com>
Authored: Tue Mar 25 10:02:40 2014 -0400
Committer: Eric C. Newton <eric.newton@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);


Mime
View raw message