Changeset 10447 in josm


Ignore:
Timestamp:
2016-06-21T01:03:50+02:00 (4 years ago)
Author:
Don-vip
Message:

see #12994, see #13018 - checkstyle

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java

    r10438 r10447  
    2323import javax.swing.AbstractAction;
    2424import javax.swing.DefaultListSelectionModel;
    25 import javax.swing.ImageIcon;
    2625import javax.swing.JButton;
    2726import javax.swing.JComponent;
  • trunk/test/unit/org/openstreetmap/josm/data/AutosaveTaskTest.java

    r10444 r10447  
    1717import java.util.Date;
    1818import java.util.List;
    19 import java.util.concurrent.ExecutionException;
    2019
    2120import org.junit.Before;
     
    206205
    207206    /**
    208      * Tests that {@link AutosaveTask#run()} handles dupplicate layers
    209      * @throws InterruptedException
     207     * Tests that {@link AutosaveTask#run()} handles duplicate layers
    210208     */
    211209    @Test
     
    234232
    235233    /**
    236      * Test that
    237      * @throws IOException
    238      * @throws ExecutionException
    239      * @throws InterruptedException
    240      */
    241     @Test
    242     public void testRecoverLayers() throws IOException, InterruptedException, ExecutionException {
     234     * Test that {@link AutosaveTask#recoverUnsavedLayers()} recovers unsaved layers.
     235     * @throws Exception in case of error
     236     */
     237    @Test
     238    public void testRecoverLayers() throws Exception {
    243239        runAutosaveTaskSeveralTimes(1);
    244240        try (FileWriter file = new FileWriter(new File(task.getAutosaveDir().toFile(), "any_other_file.osm"))) {
Note: See TracChangeset for help on using the changeset viewer.