Ignore:
Timestamp:
2020-02-28T00:58:00+01:00 (5 years ago)
Author:
simon04
Message:

Simplify OsmUtils.isTrue/isFalse/isReversed (fix NPE)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/osm/OsmUtilsTest.java

    r15950 r15951  
    7575    @Test
    7676    public void testTrueFalse() {
     77        assertFalse(OsmUtils.isTrue(null));
     78        assertFalse(OsmUtils.isFalse(null));
     79        assertNull(OsmUtils.getOsmBoolean(null));
    7780        assertTrue(OsmUtils.isTrue("yes"));
    7881        assertFalse(OsmUtils.isFalse("yes"));
Note: See TracChangeset for help on using the changeset viewer.