1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* use the same method name

This commit is contained in:
Reinhard Pointner 2014-09-19 07:56:42 +00:00
parent 2707012ab4
commit 8d35ad5b2c

View File

@ -331,10 +331,10 @@ public class ScriptShellMethods {
}
public static FolderWatchService watchFolder(File self, Closure<?> callback) throws IOException {
return watch(self, false, false, 1000, callback);
return watchFolder(self, false, false, 1000, callback);
}
public static FolderWatchService watch(File self, boolean watchTree, boolean commitPerFolder, long commitDelay, final Closure<?> callback) throws IOException {
public static FolderWatchService watchFolder(File self, boolean watchTree, boolean commitPerFolder, long commitDelay, final Closure<?> callback) throws IOException {
FolderWatchService watchService = new FolderWatchService(watchTree) {
@Override