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


The following commit(s) were added to refs/heads/main by this push:
     new 9875ba346b9 (chores) camel-core: removed unused field
9875ba346b9 is described below

commit 9875ba346b99a5575b9ffcdd0308f546aa830b50
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Tue Apr 23 12:48:49 2024 +0200

    (chores) camel-core: removed unused field
---
 .../org/apache/camel/support/component/AbstractApiComponent.java     | 5 -----
 1 file changed, 5 deletions(-)

diff --git 
a/core/camel-support/src/main/java/org/apache/camel/support/component/AbstractApiComponent.java
 
b/core/camel-support/src/main/java/org/apache/camel/support/component/AbstractApiComponent.java
index 5dbc1721f1f..2f324442fe4 100644
--- 
a/core/camel-support/src/main/java/org/apache/camel/support/component/AbstractApiComponent.java
+++ 
b/core/camel-support/src/main/java/org/apache/camel/support/component/AbstractApiComponent.java
@@ -42,9 +42,6 @@ public abstract class AbstractApiComponent<E extends Enum<E> 
& ApiName, T, S ext
     // API collection
     protected final S collection;
 
-    // API name class
-    protected final Class<E> apiNameClass;
-
     /**
      * Deprecated constructor for AbstractApiComponent.
      *
@@ -83,7 +80,6 @@ public abstract class AbstractApiComponent<E extends Enum<E> 
& ApiName, T, S ext
      */
     protected AbstractApiComponent(Class<E> apiNameClass, S collection) {
         this.collection = collection;
-        this.apiNameClass = apiNameClass;
     }
 
     /**
@@ -96,7 +92,6 @@ public abstract class AbstractApiComponent<E extends Enum<E> 
& ApiName, T, S ext
     protected AbstractApiComponent(CamelContext context, Class<E> 
apiNameClass, S collection) {
         super(context);
         this.collection = collection;
-        this.apiNameClass = apiNameClass;
     }
 
     @Override

Reply via email to