Fix checkstyle issues to enforce it
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / impl / AbstractLockedPlatformMBeanServerTest.java
index fbb3d555ccfbf05b68871a97a3dadc780af16e2c..ced512203e3a7b967fdbad0903cf0e5100c832db 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ * Copyright (c) 2013, 2017 Cisco Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -17,26 +17,23 @@ import org.junit.Before;
  * Each test that works with platform MBeanServer should extend this class.
  */
 public abstract class AbstractLockedPlatformMBeanServerTest {
-    private static final ReentrantLock lock = new ReentrantLock();
+    private static final ReentrantLock LOCK = new ReentrantLock();
     protected static MBeanServer platformMBeanServer = ManagementFactory
             .getPlatformMBeanServer();
 
     @Before
     public void acquireLock() {
-        lock.lock();
+        LOCK.lock();
     }
 
     @After
     public void unlock() {
-        lock.unlock();
+        LOCK.unlock();
     }
 
     public static class SimpleBean implements SimpleBeanMBean {
-
     }
 
     public interface SimpleBeanMBean {
-
     }
-
 }