Remove redundant throws declarations

This commit is contained in:
Madhura Bhave
2017-12-29 11:59:27 -08:00
parent 1ab5b833af
commit 8102dc78cb
20 changed files with 48 additions and 64 deletions

View File

@@ -17,7 +17,6 @@
package org.springframework.boot.devtools.filewatch;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.time.Duration;
@@ -297,7 +296,7 @@ public class FileSystemWatcherTests {
return this.changes.get(0);
}
private File touch(File file) throws FileNotFoundException, IOException {
private File touch(File file) throws IOException {
file.getParentFile().mkdirs();
FileOutputStream fileOutputStream = new FileOutputStream(file);
fileOutputStream.close();