aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-12-21 14:24:42 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-21 14:24:42 +0000
commita58324f0c62dfcad1cd36324e978ef656d74a9f6 (patch)
tree56a31c54613cedcb6452353285436818c1434cd6
parent45321147b92ec556a4d41024dea0811fa6d8e40a (diff)
parent0d27d85eb387bd56b1f8dab34a9381bcc20db7d5 (diff)
Merge "Fixed as per Java Code Conventions"
-rw-r--r--dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java
index a9f5feda..2b416e7d 100644
--- a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java
+++ b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java
@@ -43,15 +43,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() {
}
@@ -60,6 +51,14 @@ 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, "");
}