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

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


The following commit(s) were added to refs/heads/main by this push:
     new 13a9c21c001 Polished
13a9c21c001 is described below

commit 13a9c21c001264534fdc9b7ca583b1c44b2742f0
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Jul 1 08:52:47 2022 +0200

    Polished
---
 .../src/main/java/org/apache/camel/language/joor/JoorCompiler.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-joor/src/main/java/org/apache/camel/language/joor/JoorCompiler.java
 
b/components/camel-joor/src/main/java/org/apache/camel/language/joor/JoorCompiler.java
index f96a7cb7461..a8410192fe2 100644
--- 
a/components/camel-joor/src/main/java/org/apache/camel/language/joor/JoorCompiler.java
+++ 
b/components/camel-joor/src/main/java/org/apache/camel/language/joor/JoorCompiler.java
@@ -89,7 +89,7 @@ public class JoorCompiler extends ServiceSupport implements 
StaticService {
     protected void doStop() throws Exception {
         super.doStop();
         if (counter > 0) {
-            LOG.info("jOOR language compiled {} scripts in {}", counter, 
TimeUtils.printDuration(taken, true));
+            LOG.info("jOOR language compiled {} {} in {}", counter, counter == 
1 ? "script" : "scripts", TimeUtils.printDuration(taken, true));
         }
     }
 

Reply via email to