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

Java 8: use String.join

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java

    r15682 r15716  
    559559            } else {
    560560                /* I18N: {0} is the test error message and {1} is an alternative */
    561                 return tr("{0}, use {1} instead", getMessage(p), Utils.join(tr(" or "), alternatives));
     561                return tr("{0}, use {1} instead", getMessage(p), String.join(tr(" or "), alternatives));
    562562            }
    563563        }
Note: See TracChangeset for help on using the changeset viewer.