aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/event/EventBusProducer.java2
-rw-r--r--src/main/java/org/onap/aai/rest/RestClientEndpoint.java4
-rw-r--r--src/main/java/org/onap/aai/rest/RestClientProducer.java2
5 files changed, 7 insertions, 7 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 bbed74a..0b883dd 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/event/EventBusProducer.java b/src/main/java/org/onap/aai/event/EventBusProducer.java
index a0578fc..50f6d96 100644
--- a/src/main/java/org/onap/aai/event/EventBusProducer.java
+++ b/src/main/java/org/onap/aai/event/EventBusProducer.java
@@ -35,7 +35,7 @@ public class EventBusProducer extends DefaultProducer {
super(endpoint);
this.endpoint = endpoint;
}
-
+ @Override
public void process(Exchange exchange) throws Exception {
// Publishing to event bus is currently not supported
}
diff --git a/src/main/java/org/onap/aai/rest/RestClientEndpoint.java b/src/main/java/org/onap/aai/rest/RestClientEndpoint.java
index 41d8db5..eb4218e 100644
--- a/src/main/java/org/onap/aai/rest/RestClientEndpoint.java
+++ b/src/main/java/org/onap/aai/rest/RestClientEndpoint.java
@@ -82,11 +82,11 @@ public class RestClientEndpoint extends DefaultEndpoint {
public Producer createProducer() throws Exception {
return new RestClientProducer(this);
}
-
+ @Override
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
}