gitgabrio commented on code in PR #6871:
URL: https://github.com/apache/incubator-kie/pull/6871#discussion_r3719531297


##########
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/util/XQueryImplUtil.java:
##########
@@ -50,9 +58,7 @@ public static String executeReplaceFunction(String input, 
String pattern, String
 
      static <T> T evaluateXQueryExpression(String expression, Class<T> 
expectedTypeResult) {
          try {
-             Processor processor = new Processor(false);
-             XQueryCompiler compiler = processor.newXQueryCompiler();
-             XQueryExecutable executable = compiler.compile(expression);
+             XQueryExecutable executable = COMPILER.compile(expression);

Review Comment:
   @yesamer wdyt ? ^^



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to