You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "ammachado (via GitHub)" <gi...@apache.org> on 2023/07/05 19:05:16 UTC

[GitHub] [camel] ammachado commented on a diff in pull request #10488: [CAMEL-18916] camel-xslt-saxon: allow logger injection

ammachado commented on code in PR #10488:
URL: https://github.com/apache/camel/pull/10488#discussion_r1253516988


##########
components/camel-xslt-saxon/src/main/java/org/apache/camel/component/xslt/saxon/XsltSaxonEndpoint.java:
##########
@@ -209,8 +209,7 @@ protected XsltSaxonBuilder createXsltBuilder() throws Exception {
             }
         }
 
-        if (factory instanceof TransformerFactoryImpl) {
-            TransformerFactoryImpl tf = (TransformerFactoryImpl) factory;
+        if (factory instanceof TransformerFactoryImpl tf) {

Review Comment:
   I'll revert this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org