Fixed as per Java Code Conventions
authorroot1 <srinivasa.mohan@huawei.com>
Tue, 19 Dec 2017 13:32:44 +0000 (19:02 +0530)
committerSRINIVAS V <srinivasa.mohan@huawei.com>
Thu, 21 Dec 2017 09:27:16 +0000 (09:27 +0000)
Change-Id: Ib17c601ad6a2999e4396f84e18831b5f907557eb
Issue-ID: CCSDK-151
Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java

index a51ea7c..ed71337 100644 (file)
@@ -44,15 +44,6 @@ public abstract class SdncDmaapConsumer implements Runnable {
     private int fetchPause = 5000; // Default pause between fetch - 5 seconds
     private int timeout = 15000; // Default timeout - 15 seconds
 
-    public boolean isReady() {
-        return ready;
-    }
-
-
-    public boolean isRunning() {
-        return running;
-    }
-
     public SdncDmaapConsumer() {
 
     }
@@ -61,8 +52,16 @@ public abstract class SdncDmaapConsumer implements Runnable {
         init(properties, propertiesPath);
     }
 
+    public boolean isReady() {
+        return ready;
+    }
+
+    public boolean isRunning() {
+        return running;
+    }
+
     public String getProperty(String name) {
-        return (properties.getProperty(name, ""));
+        return properties.getProperty(name, "");
     }
 
     public void init(Properties properties, String propertiesPath) {