Changeset 2676 in josm for trunk/test


Ignore:
Timestamp:
2009-12-24T08:48:40+01:00 (10 years ago)
Author:
jttt
Message:

Fix some of the warnings found by FindBugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/conflict/tags/TagMergeModelTest.java

    r1954 r2676  
    1919
    2020    @Test
    21     public void TagMergeModel() {
    22         TagMergeModel model = new TagMergeModel();
    23     }
    24 
    25     @Test
    2621    public void addPropertyChangeListener() {
    2722        TagMergeModel model = new TagMergeModel();
     
    3328        model.addPropertyChangeListener(listener);
    3429
    35         ArrayList list = field("listeners").ofType(ArrayList.class)
     30        ArrayList<?> list = field("listeners").ofType(ArrayList.class)
    3631        .in(model)
    3732        .get();
     
    5247        model.removePropertyChangeListener(listener);
    5348
    54         ArrayList list = field("listeners")
     49        ArrayList<?> list = field("listeners")
    5550        .ofType(ArrayList.class)
    5651        .in(model)
Note: See TracChangeset for help on using the changeset viewer.