Index: trunk/test/unit/org/openstreetmap/josm/data/AutosaveTaskTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/AutosaveTaskTest.java	(revision 10445)
+++ trunk/test/unit/org/openstreetmap/josm/data/AutosaveTaskTest.java	(revision 10447)
@@ -17,5 +17,4 @@
 import java.util.Date;
 import java.util.List;
-import java.util.concurrent.ExecutionException;
 
 import org.junit.Before;
@@ -206,6 +205,5 @@
 
     /**
-     * Tests that {@link AutosaveTask#run()} handles dupplicate layers
-     * @throws InterruptedException
+     * Tests that {@link AutosaveTask#run()} handles duplicate layers
      */
     @Test
@@ -234,11 +232,9 @@
 
     /**
-     * Test that
-     * @throws IOException
-     * @throws ExecutionException
-     * @throws InterruptedException
-     */
-    @Test
-    public void testRecoverLayers() throws IOException, InterruptedException, ExecutionException {
+     * Test that {@link AutosaveTask#recoverUnsavedLayers()} recovers unsaved layers.
+     * @throws Exception in case of error
+     */
+    @Test
+    public void testRecoverLayers() throws Exception {
         runAutosaveTaskSeveralTimes(1);
         try (FileWriter file = new FileWriter(new File(task.getAutosaveDir().toFile(), "any_other_file.osm"))) {
