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 2020/11/02 19:38:24 UTC
[camel] 02/04: CAMEL-15784: camel-core - Optimize to remove not
needed factory finder in type converter
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 83ebba30f76d837d3cdd7acb619672ecb2d86b26
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Nov 2 16:43:49 2020 +0100
CAMEL-15784: camel-core - Optimize to remove not needed factory finder in type converter
---
.../test/java/org/apache/camel/component/jcr/JcrConverterTest.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrConverterTest.java b/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrConverterTest.java
index 055e05d..ae98ddb 100644
--- a/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrConverterTest.java
+++ b/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrConverterTest.java
@@ -23,8 +23,6 @@ import javax.jcr.Value;
import org.apache.camel.TypeConverter;
import org.apache.camel.impl.converter.DefaultTypeConverter;
-import org.apache.camel.impl.engine.DefaultClassResolver;
-import org.apache.camel.impl.engine.DefaultFactoryFinderResolver;
import org.apache.camel.impl.engine.DefaultPackageScanClassResolver;
import org.apache.camel.spi.Injector;
import org.apache.camel.support.ObjectHelper;
@@ -70,7 +68,7 @@ public class JcrConverterTest {
public boolean supportsAutoWiring() {
return false;
}
- }, new DefaultFactoryFinderResolver().resolveDefaultFactoryFinder(new DefaultClassResolver()), true);
+ }, true);
ServiceHelper.startService(converter);
}