Changeset 9296 in josm for trunk/test/unit/org/openstreetmap


Ignore:
Timestamp:
2016-01-04T01:06:23+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #12249 - Fix Findbugs warnings "Exceptional return value of java.io.File.delete() ignored"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/session/SessionWriterTest.java

    r8876 r9296  
    2828import org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference;
    2929import org.openstreetmap.josm.tools.MultiMap;
     30import org.openstreetmap.josm.tools.Utils;
    3031
    3132/**
     
    108109        } finally {
    109110            if (file.exists()) {
    110                 file.delete();
     111                Utils.deleteFile(file);
    111112            }
    112113        }
Note: See TracChangeset for help on using the changeset viewer.