From 8d35ad5b2c0404b912301e3bd5c7582c771098b2 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 19 Sep 2014 07:56:42 +0000 Subject: [PATCH] * use the same method name --- source/net/filebot/cli/ScriptShellMethods.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/cli/ScriptShellMethods.java b/source/net/filebot/cli/ScriptShellMethods.java index 4e798910..8fdfb764 100644 --- a/source/net/filebot/cli/ScriptShellMethods.java +++ b/source/net/filebot/cli/ScriptShellMethods.java @@ -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