You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/08 11:11:06 UTC

[camel] 04/05: camel-tika: Make TikaProducer.getContentHandler protected so that it can be overridden

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

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

commit 995b32647fb2771b44b79e2eef5fbbe85498e6d1
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Mar 8 10:35:18 2022 +0000

    camel-tika: Make TikaProducer.getContentHandler protected so that it can be overridden
---
 .../src/main/java/org/apache/camel/component/tika/TikaProducer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-tika/src/main/java/org/apache/camel/component/tika/TikaProducer.java b/components/camel-tika/src/main/java/org/apache/camel/component/tika/TikaProducer.java
index f434156..58a6638 100644
--- a/components/camel-tika/src/main/java/org/apache/camel/component/tika/TikaProducer.java
+++ b/components/camel-tika/src/main/java/org/apache/camel/component/tika/TikaProducer.java
@@ -137,7 +137,7 @@ public class TikaProducer extends DefaultProducer {
         }
     }
 
-    private ContentHandler getContentHandler(TikaConfiguration configuration, OutputStream outputStream)
+    protected ContentHandler getContentHandler(TikaConfiguration configuration, OutputStream outputStream)
             throws TransformerConfigurationException, UnsupportedEncodingException {
 
         ContentHandler result = null;