Delete delay for delete

This commit is contained in:
Mario Danic 2017-02-23 22:31:00 +01:00 committed by AndyScherzinger
parent 96cfa5d16f
commit 80de60a51f
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -272,7 +272,7 @@ public class FileAlterationMagicObserver extends FileAlterationObserver implemen
c++;
} else {
checkAndNotify(entry, entry.getChildren(), FileUtils.EMPTY_FILE_ARRAY, delay);
doDelete(entry, delay);
doDelete(entry);
}
}
for (; c < files.length; c++) {
@ -356,7 +356,7 @@ public class FileAlterationMagicObserver extends FileAlterationObserver implemen
*
* @param entry The file entry
*/
private void doDelete(final FileEntry entry, int delay) {
private void doDelete(final FileEntry entry) {
for (final FileAlterationMagicListener listener : listeners) {
if (entry.isDirectory()) {
listener.onDirectoryDelete(entry.getFile());