Commits

Anonymous committed 5dc145f

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

Comments (0)

Files changed (1)

src/java/org/apache/cassandra/db/BlacklistedDirectories.java

 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>();