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 f11c08033a6e11fa52198d2712a81ba607559914
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Fri Jan 31 11:58:13 2025 +0100

    (chores) camel-bean: removed unnecessary type arguments
---
 .../src/main/java/org/apache/camel/component/bean/BeanInfo.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
 
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
index 055153a07db..cc0402c9510 100644
--- 
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
+++ 
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
@@ -303,8 +303,8 @@ public class BeanInfo {
         try {
             Method method = pojo.getClass().getMethod("getClass");
             methodInfo = new MethodInfo(
-                    exchange.getContext(), pojo.getClass(), method, 
Collections.<ParameterInfo> emptyList(),
-                    Collections.<ParameterInfo> emptyList(), false, false);
+                    exchange.getContext(), pojo.getClass(), method, 
Collections.emptyList(),
+                    Collections.emptyList(), false, false);
         } catch (NoSuchMethodException e) {
             throw new MethodNotFoundException(exchange, pojo, "getClass");
         }

Reply via email to