Ignore:
Timestamp:
2017-07-12T00:20:08+02:00 (7 years ago)
Author:
Don-vip
Message:

see #14923 - suppress java warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/search/SearchCompilerTest.java

    r12464 r12468  
    3636import org.openstreetmap.josm.data.osm.WayData;
    3737import org.openstreetmap.josm.gui.tagging.presets.TaggingPreset;
     38import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetMenu;
    3839import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetType;
    3940import org.openstreetmap.josm.gui.tagging.presets.TaggingPresets;
    40 import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetMenu;
    4141import org.openstreetmap.josm.gui.tagging.presets.items.Key;
    4242import org.openstreetmap.josm.testutils.JOSMTestRules;
     
    592592        Field field = match.getClass().getDeclaredField("presets");
    593593        field.setAccessible(true);
     594        @SuppressWarnings("unchecked")
    594595        Collection<TaggingPreset> foundPresets = (Collection<TaggingPreset>) field.get(match);
    595596
     
    638639        Field field = match.getClass().getDeclaredField("presets");
    639640        field.setAccessible(true);
     641        @SuppressWarnings("unchecked")
    640642        Collection<TaggingPreset> foundPresets = (Collection<TaggingPreset>) field.get(match);
    641643
Note: See TracChangeset for help on using the changeset viewer.