You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jm...@apache.org on 2018/01/06 00:33:32 UTC

[incubator-plc4x] 01/02: add @override

This is an automated email from the ASF dual-hosted git repository.

jmclean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git

commit 1e853eb38b35c978bc20efa4ad77ee857757b5cd
Author: Justin Mclean <jm...@apache.org>
AuthorDate: Sat Jan 6 11:32:31 2018 +1100

    add @override
---
 .../src/main/java/org/apache/plc4x/camel/PLC4XProducer.java             | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/integrations/apache-camel/src/main/java/org/apache/plc4x/camel/PLC4XProducer.java b/integrations/apache-camel/src/main/java/org/apache/plc4x/camel/PLC4XProducer.java
index e11d1e5..60bd899 100644
--- a/integrations/apache-camel/src/main/java/org/apache/plc4x/camel/PLC4XProducer.java
+++ b/integrations/apache-camel/src/main/java/org/apache/plc4x/camel/PLC4XProducer.java
@@ -51,6 +51,7 @@ public class PLC4XProducer extends DefaultAsyncProducer {
     }
 
     @SuppressWarnings("unchecked")
+    @Override
     public void process(Exchange exchange) throws Exception {
         Message in = exchange.getIn();
         Address address = in.getHeader(Constants.ADDRESS_HEADER, Address.class);
@@ -76,6 +77,7 @@ public class PLC4XProducer extends DefaultAsyncProducer {
         }
     }
 
+    @Override
     public boolean process(Exchange exchange, AsyncCallback callback) {
         try {
             process(exchange);

-- 
To stop receiving notification emails like this one, please contact
"commits@plc4x.apache.org" <co...@plc4x.apache.org>.