cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: make sure logger is initialized before ctor is called that uses it
Date Wed, 14 Nov 2012 05:50:40 GMT
Updated Branches:
  refs/heads/cassandra-1.2 6f148e64c -> 5dc145f44


make sure logger is initialized before ctor is called that uses it


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

Branch: refs/heads/cassandra-1.2
Commit: 5dc145f4440bc418cd289b5a8a1d46b493a5938e
Parents: 6f148e6
Author: Dave Brosius <dbrosius@apache.org>
Authored: Wed Nov 14 00:49:53 2012 -0500
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Wed Nov 14 00:49:53 2012 -0500

----------------------------------------------------------------------
 .../cassandra/db/BlacklistedDirectories.java       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5dc145f4/src/java/org/apache/cassandra/db/BlacklistedDirectories.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/BlacklistedDirectories.java b/src/java/org/apache/cassandra/db/BlacklistedDirectories.java
index 5e873c7..78f1f0c 100644
--- a/src/java/org/apache/cassandra/db/BlacklistedDirectories.java
+++ b/src/java/org/apache/cassandra/db/BlacklistedDirectories.java
@@ -32,8 +32,8 @@ import javax.management.ObjectName;
 public class BlacklistedDirectories implements BlacklistedDirectoriesMBean
 {
     public static final String MBEAN_NAME = "org.apache.cassandra.db:type=BlacklistedDirectories";
-    private static final BlacklistedDirectories instance = new BlacklistedDirectories();
     private static final Logger logger = LoggerFactory.getLogger(BlacklistedDirectories.class);
+    private static final BlacklistedDirectories instance = new BlacklistedDirectories();
 
     private final Set<File> unreadableDirectories = new CopyOnWriteArraySet<File>();
     private final Set<File> unwritableDirectories = new CopyOnWriteArraySet<File>();


Mime
View raw message