summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/aai/event/EventBusConsumer.java2
-rw-r--r--src/main/java/org/onap/aai/event/EventBusEndpoint.java2
-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, 4 insertions, 4 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 4937d51..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);
}
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
}