You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/06/17 10:32:05 UTC

[camel] 10/14: (chores) camel-iec60870: removed unused method parameters

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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1552f980dff2444ba0ca473c6682fc861a42435e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jun 17 10:26:19 2022 +0200

    (chores) camel-iec60870: removed unused method parameters
---
 .../org/apache/camel/component/iec60870/AbstractIecComponent.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java
index 79b9e3f3994..048ec8836e6 100644
--- a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java
+++ b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java
@@ -80,7 +80,7 @@ public abstract class AbstractIecComponent<T1, T2 extends BaseOptions<T2>> exten
 
     protected abstract Endpoint createEndpoint(String uri, T1 connection, ObjectAddress address);
 
-    protected T2 parseOptions(final ConnectionId id, final Map<String, Object> parameters) throws Exception {
+    protected T2 parseOptions(final Map<String, Object> parameters) throws Exception {
 
         // test for provided connection options
 
@@ -141,7 +141,7 @@ public abstract class AbstractIecComponent<T1, T2 extends BaseOptions<T2>> exten
             LOG.debug("Result - {} -> {}", id, connection);
 
             if (connection == null) {
-                final T2 options = parseOptions(id, parameters);
+                final T2 options = parseOptions(parameters);
                 LOG.debug("Creating new connection: {}", options);
 
                 connection = createConnection(id, options);