This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch tc-loader
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/tc-loader by this push:
new e755987 CAMEL-13313: Add support for generating type converter loader
source code to be able to load component type converters in a faster way
e755987 is described below
commit e7559876f7952d19048bd77a416a60c496978d1e
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Mar 14 14:12:32 2019 +0100
CAMEL-13313: Add support for generating type converter loader source code
to be able to load component type converters in a faster way
---
.../main/java/org/apache/camel/component/bean/BeanConverter.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git
a/core/camel-core/src/main/java/org/apache/camel/component/bean/BeanConverter.java
b/core/camel-core/src/main/java/org/apache/camel/component/bean/BeanConverter.java
index ed96fe9..00f7da0 100644
---
a/core/camel-core/src/main/java/org/apache/camel/component/bean/BeanConverter.java
+++
b/core/camel-core/src/main/java/org/apache/camel/component/bean/BeanConverter.java
@@ -34,15 +34,6 @@ public final class BeanConverter {
// Helper Class
}
- @Converter
- public static int toDummy(String s) {
- return 1;
- }
-
- public String hello(String w) {
- return null;
- }
-
@FallbackConverter
public static Object convertTo(Class<?> type, Exchange exchange, Object
value, TypeConverterRegistry registry) {
// use a fallback type converter so we can convert the embedded body
if the value is BeanInvocation