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.java2
-rw-r--r--src/main/java/org/onap/aai/rest/RestClientProducer.java2
5 files changed, 6 insertions, 6 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/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 5e6d751..eb4218e 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
}