[camel] branch master updated: Deprecate CSB as we can use JDK utils instead.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: Deprecate CSB as we can use JDK utils instead.

davsclaus-2
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 0a19c17  Deprecate CSB as we can use JDK utils instead.
0a19c17 is described below

commit 0a19c179da6d1b566b0f53f5b740ce8925c45914
Author: Claus Ibsen <[hidden email]>
AuthorDate: Mon Aug 10 14:32:26 2020 +0200

    Deprecate CSB as we can use JDK utils instead.
---
 .../src/main/java/org/apache/camel/util/CollectionStringBuffer.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/core/camel-util/src/main/java/org/apache/camel/util/CollectionStringBuffer.java b/core/camel-util/src/main/java/org/apache/camel/util/CollectionStringBuffer.java
index eb3bbcf..470b25b 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/CollectionStringBuffer.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/CollectionStringBuffer.java
@@ -18,7 +18,10 @@ package org.apache.camel.util;
 
 /**
  * A little helper class for converting a collection of values to a (usually comma separated) string.
+ *
+ * @deprecated use JDK {@link String#join(CharSequence, CharSequence...)} or {@link java.util.StringJoiner}.
  */
+@Deprecated
 public class CollectionStringBuffer {
     private final StringBuilder buffer = new StringBuilder();
     private String separator;