minor cleanup

This commit is contained in:
Eugen Paraschiv
2018-03-04 17:04:28 +02:00
parent 5c6565b065
commit 84a9b2e0d8
11 changed files with 64 additions and 92 deletions
@@ -10,7 +10,7 @@ import java.nio.file.WatchKey;
import java.nio.file.WatchService;
public class DirectoryWatcherExample {
public static void main(String[] args) throws IOException, InterruptedException {
WatchService watchService = FileSystems.getDefault().newWatchService();
Path path = Paths.get(System.getProperty("user.home"));
@@ -25,5 +25,5 @@ public class DirectoryWatcherExample {
watchService.close();
}
}