You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/01/14 12:26:30 UTC
[camel-kafka-connector] 13/14: Use the join method to simplify
building the plugin paths
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
commit bddecd63394dadb4773777040e30ea49dd33b849
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Wed Jan 13 15:28:06 2021 +0100
Use the join method to simplify building the plugin paths
---
.../java/org/apache/camel/kafkaconnector/common/PluginPathHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/itests-common/src/test/java/org/apache/camel/kafkaconnector/common/PluginPathHelper.java b/tests/itests-common/src/test/java/org/apache/camel/kafkaconnector/common/PluginPathHelper.java
index fdda6db..e19d8c3 100644
--- a/tests/itests-common/src/test/java/org/apache/camel/kafkaconnector/common/PluginPathHelper.java
+++ b/tests/itests-common/src/test/java/org/apache/camel/kafkaconnector/common/PluginPathHelper.java
@@ -135,7 +135,7 @@ public final class PluginPathHelper {
* ref: https://docs.confluent.io/current/connect/userguide.html
*/
public String pluginPaths() {
- String ret = findPluginPaths().stream().collect(Collectors.joining(","));
+ String ret = String.join(",", findPluginPaths());
LOG.info("Returning the following directories for the plugin path: {}", ret);
return ret;