aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/event/EventBusConsumer.java2
-rw-r--r--src/main/java/org/onap/aai/event/EventBusEndpoint.java4
-rw-r--r--src/main/java/org/onap/aai/rest/RestClientEndpoint.java2
-rw-r--r--src/main/java/org/onap/aai/rest/RestClientProducer.java2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/onap/aai/event/EventBusConsumer.java b/src/main/java/org/onap/aai/event/EventBusConsumer.java
index ed28571..2da879d 100644
--- a/src/main/java/org/onap/aai/event/EventBusConsumer.java
+++ b/src/main/java/org/onap/aai/event/EventBusConsumer.java
@@ -127,7 +127,7 @@ public class EventBusConsumer extends ScheduledPollConsumer {
consumer.close();
}
}
-
+ @Override
protected void doShutdown() throws Exception {
super.doShutdown();
if (consumer != null) {
diff --git a/src/main/java/org/onap/aai/event/EventBusEndpoint.java b/src/main/java/org/onap/aai/event/EventBusEndpoint.java
index 965dc72..58f1ea5 100644
--- a/src/main/java/org/onap/aai/event/EventBusEndpoint.java
+++ b/src/main/java/org/onap/aai/event/EventBusEndpoint.java
@@ -75,7 +75,7 @@ public class EventBusEndpoint extends DefaultEndpoint {
public EventBusEndpoint(String endpointUri) {
super(endpointUri);
}
-
+ @Override
public Producer createProducer() throws Exception {
return new EventBusProducer(this);
}
@@ -83,7 +83,7 @@ public class EventBusEndpoint extends DefaultEndpoint {
public Consumer createConsumer(Processor processor) throws Exception {
return new EventBusConsumer(this, processor);
}
-
+ @Override
public boolean isSingleton() {
return false;
}
diff --git a/src/main/java/org/onap/aai/rest/RestClientEndpoint.java b/src/main/java/org/onap/aai/rest/RestClientEndpoint.java
index 41d8db5..dcab1c9 100644
--- a/src/main/java/org/onap/aai/rest/RestClientEndpoint.java
+++ b/src/main/java/org/onap/aai/rest/RestClientEndpoint.java
@@ -86,7 +86,7 @@ public class RestClientEndpoint extends DefaultEndpoint {
public Consumer createConsumer(Processor processor) throws Exception {
return new RestClientConsumer(this, processor);
}
-
+ @Override
public boolean isSingleton() {
return true;
}
diff --git a/src/main/java/org/onap/aai/rest/RestClientProducer.java b/src/main/java/org/onap/aai/rest/RestClientProducer.java
index 62d57dc..579315d 100644
--- a/src/main/java/org/onap/aai/rest/RestClientProducer.java
+++ b/src/main/java/org/onap/aai/rest/RestClientProducer.java
@@ -47,7 +47,7 @@ import javax.ws.rs.core.Response;
*/
public class RestClientProducer extends DefaultProducer {
- private static enum Operation {
+ private enum Operation {
GET, PUT, POST, DELETE
}