From: Michael Gernoth Date: Sun, 3 Jul 2011 11:07:23 +0000 (+0200) Subject: zero is a valid delay X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/ms2-fixes/commitdiff_plain/818fb3279df0b583098df237226041b829079851 zero is a valid delay --- diff --git a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java index 25c2262..9c0a59e 100644 --- a/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java +++ b/MS2Debounce/src/de/rmdir/ms2debounce/DebounceModuleHelper.java @@ -57,7 +57,7 @@ public class DebounceModuleHelper return; } - if (getDelay() <= 0) { + if (getDelay() < 0) { return; }