Fix checkstyle issues to enforce it
[controller.git] / opendaylight / config / config-persister-feature-adapter / src / main / java / org / opendaylight / controller / configpusherfeature / ConfigPusherFeatureActivator.java
index c20c6f9182caa895cd50e51ee36dab887a41c4f0..99334da488b5c795ae446679947d83a1f24ac17d 100644 (file)
@@ -14,10 +14,9 @@ import org.osgi.framework.BundleContext;
 import org.osgi.util.tracker.ServiceTracker;
 
 public class ConfigPusherFeatureActivator implements BundleActivator {
-
-    BundleContext bc = null;
-    ConfigPusherCustomizer cpc = null;
-    ServiceTracker<ConfigPusher,ConfigPusher> cpst = null;
+    private BundleContext bc = null;
+    private ConfigPusherCustomizer cpc = null;
+    private ServiceTracker<ConfigPusher, ConfigPusher> cpst = null;
 
     public void start(final BundleContext context) throws Exception {
         bc = context;
@@ -27,11 +26,11 @@ public class ConfigPusherFeatureActivator implements BundleActivator {
     }
 
     public void stop(final BundleContext context) throws Exception {
-        if(cpst != null) {
+        if (cpst != null) {
             cpst.close();
             cpst = null;
         }
-        if(cpc != null) {
+        if (cpc != null) {
             cpc.close();
             cpc = null;
         }