Changeset 15718 in josm


Ignore:
Timestamp:
2020-01-18T14:14:02+01:00 (5 years ago)
Author:
simon04
Message:

Java 8: deprecate Utils.join

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r15716 r15718  
    6161import java.util.regex.Matcher;
    6262import java.util.regex.Pattern;
     63import java.util.stream.Collectors;
    6364import java.util.stream.Stream;
    6465import java.util.zip.ZipFile;
     
    226227     *  empty string
    227228     * @return null if values is null. The joined string otherwise.
    228      */
     229     * @deprecated use {@link String#join} or {@link Collectors#joining}
     230     */
     231    @Deprecated
    229232    public static String join(String sep, Collection<?> values) {
    230233        CheckParameterUtil.ensureParameterNotNull(sep, "sep");
Note: See TracChangeset for help on using the changeset viewer.