diff options
Diffstat (limited to 'services/services-engine/src/main/java/org')
3 files changed, 3 insertions, 1 deletions
diff --git a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/event/impl/filecarrierplugin/consumer/HeaderDelimitedTextBlockReader.java b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/event/impl/filecarrierplugin/consumer/HeaderDelimitedTextBlockReader.java index 982044022..9786a3623 100644 --- a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/event/impl/filecarrierplugin/consumer/HeaderDelimitedTextBlockReader.java +++ b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/event/impl/filecarrierplugin/consumer/HeaderDelimitedTextBlockReader.java @@ -54,7 +54,7 @@ public class HeaderDelimitedTextBlockReader implements TextBlockReader, Runnable private boolean blockEndTokenUsed = false; // The thread used to read the text from the stream - Thread textConsumputionThread; + private Thread textConsumputionThread; // The input stream for text private InputStream inputStream; diff --git a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/ApexEventListener.java b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/ApexEventListener.java index a498bcff8..7e43f036e 100644 --- a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/ApexEventListener.java +++ b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/ApexEventListener.java @@ -30,6 +30,7 @@ import org.onap.policy.apex.service.engine.event.ApexEvent; * * @author Sajeevan Achuthan (sajeevan.achuthan@ericsson.com) */ +@FunctionalInterface public interface ApexEventListener { /** diff --git a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/EngineServiceEventInterface.java b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/EngineServiceEventInterface.java index 8e4cb82e2..f537b57bc 100644 --- a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/EngineServiceEventInterface.java +++ b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/EngineServiceEventInterface.java @@ -29,6 +29,7 @@ import org.onap.policy.apex.service.engine.event.ApexEvent; * @author Sajeevan Achuthan (sajeevan.achuthan@ericsson.com), John Keeney * (john.keeney@ericsson.com) */ +@FunctionalInterface public interface EngineServiceEventInterface { /** * This method forwards an event to the APEX engine. |