You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/03/22 09:54:14 UTC

(camel-examples) branch main updated: Regen

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 23a3867f Regen
23a3867f is described below

commit 23a3867fd09c3521c92f379fa9ce2968d93658aa
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Mar 22 10:54:04 2024 +0100

    Regen
---
 .../java/org/apache/camel/example/MyBeanConfigurer.java          | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/main-tiny/src/generated/java/org/apache/camel/example/MyBeanConfigurer.java b/main-tiny/src/generated/java/org/apache/camel/example/MyBeanConfigurer.java
index 361530de..d6cdd510 100644
--- a/main-tiny/src/generated/java/org/apache/camel/example/MyBeanConfigurer.java
+++ b/main-tiny/src/generated/java/org/apache/camel/example/MyBeanConfigurer.java
@@ -21,8 +21,7 @@ public class MyBeanConfigurer extends org.apache.camel.support.component.Propert
     public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
         org.apache.camel.example.MyBean target = (org.apache.camel.example.MyBean) obj;
         switch (ignoreCase ? name.toLowerCase() : name) {
-        case "hi":
-        case "Hi": target.setHi(property(camelContext, java.lang.String.class, value)); return true;
+        case "hi": target.setHi(property(camelContext, java.lang.String.class, value)); return true;
         default: return false;
         }
     }
@@ -30,8 +29,7 @@ public class MyBeanConfigurer extends org.apache.camel.support.component.Propert
     @Override
     public Class<?> getOptionType(String name, boolean ignoreCase) {
         switch (ignoreCase ? name.toLowerCase() : name) {
-        case "hi":
-        case "Hi": return java.lang.String.class;
+        case "hi": return java.lang.String.class;
         default: return null;
         }
     }
@@ -40,8 +38,7 @@ public class MyBeanConfigurer extends org.apache.camel.support.component.Propert
     public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
         org.apache.camel.example.MyBean target = (org.apache.camel.example.MyBean) obj;
         switch (ignoreCase ? name.toLowerCase() : name) {
-        case "hi":
-        case "Hi": return target.getHi();
+        case "hi": return target.getHi();
         default: return null;
         }
     }