Index: trunk/src/org/openstreetmap/josm/tools/Utils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 15717)
+++ trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 15718)
@@ -61,4 +61,5 @@
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
+import java.util.stream.Collectors;
 import java.util.stream.Stream;
 import java.util.zip.ZipFile;
@@ -226,5 +227,7 @@
      *  empty string
      * @return null if values is null. The joined string otherwise.
-     */
+     * @deprecated use {@link String#join} or {@link Collectors#joining}
+     */
+    @Deprecated
     public static String join(String sep, Collection<?> values) {
         CheckParameterUtil.ensureParameterNotNull(sep, "sep");
