accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [2/6] accumulo git commit: ACCUMULO-3837 Fix findbugs issue
Date Tue, 26 May 2015 19:30:33 GMT
ACCUMULO-3837 Fix findbugs issue

AtomicReference should be final


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

Branch: refs/heads/1.7
Commit: 2590322050b2bb1077cab6f92d59eef84dc72e4d
Parents: 99aa9a9
Author: Josh Elser <elserj@apache.org>
Authored: Tue May 26 15:29:40 2015 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Tue May 26 15:29:40 2015 -0400

----------------------------------------------------------------------
 .../monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/25903220/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
index 0113fb6..ecc5ece 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
@@ -171,7 +171,7 @@ public class Monitor {
   private ZooLock monitorLock;
 
   private static final String DEFAULT_INSTANCE_NAME = "(Unavailable)";
-  public static AtomicReference<String> cachedInstanceName = new AtomicReference<String>(DEFAULT_INSTANCE_NAME);
+  public static final AtomicReference<String> cachedInstanceName = new AtomicReference<String>(DEFAULT_INSTANCE_NAME);
 
   private static class EventCounter {
 


Mime
View raw message