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
The following commit(s) were added to refs/heads/master by this push: new 9920e60 CAMEL-12731: Fix FindBugs warnings: Array formatted in useless way using format string (#2473) 9920e60 is described below commit 9920e604e31be331cff4c2a216d81ed59bdae67e Author: Hiroaki Yoshida <hyosh...@us.fujitsu.com> AuthorDate: Tue Aug 14 23:43:49 2018 -0700 CAMEL-12731: Fix FindBugs warnings: Array formatted in useless way using format string (#2473) --- .../component/zookeeper/operations/FutureEventDrivenOperation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/FutureEventDrivenOperation.java b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/FutureEventDrivenOperation.java index 0fbcfee..34fb5b8 100644 --- a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/FutureEventDrivenOperation.java +++ b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/FutureEventDrivenOperation.java @@ -16,6 +16,7 @@ */ package org.apache.camel.component.zookeeper.operations; +import java.util.Arrays; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; @@ -69,7 +70,7 @@ public abstract class FutureEventDrivenOperation<ResultType> extends ZooKeeperOp if (b.length() > 0) { b.setLength(b.length() - 2); } - LOG.trace(String.format("Recieved event of type %s did not match any watched types %s", received, awaitedTypes)); + LOG.trace(String.format("Recieved event of type %s did not match any watched types %s", received, Arrays.toString(awaitedTypes))); } }