Changeset 10752 in josm


Ignore:
Timestamp:
2016-08-06T23:35:40+02:00 (3 years ago)
Author:
Don-vip
Message:

fix warning in unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java

    r10641 r10752  
    156156    @Test
    157157    public void joinAsHtmlUnorderedList() {
    158         List<? extends Object> items = Arrays.asList("1", new Integer(2));
     158        List<? extends Object> items = Arrays.asList("1", Integer.valueOf(2));
    159159        assertEquals("<ul><li>1</li><li>2</li></ul>", Utils.joinAsHtmlUnorderedList(items));
    160160        assertEquals("<ul></ul>", Utils.joinAsHtmlUnorderedList(Collections.emptyList()));
Note: See TracChangeset for help on using the changeset viewer.