From 2bc52699c61d703111406aa3bbd3187ea4af7cd1 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Mon, 19 Oct 2009 17:32:38 +0000 Subject: [PATCH] bugfix: removed-flag should become false when rescheduling unsorted event --- tools/cooja/java/se/sics/cooja/EventQueue.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cooja/java/se/sics/cooja/EventQueue.java b/tools/cooja/java/se/sics/cooja/EventQueue.java index 688b5d8c0..24219ce08 100644 --- a/tools/cooja/java/se/sics/cooja/EventQueue.java +++ b/tools/cooja/java/se/sics/cooja/EventQueue.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: EventQueue.java,v 1.7 2009/06/15 16:51:42 fros4943 Exp $ + * $Id: EventQueue.java,v 1.8 2009/10/19 17:32:38 fros4943 Exp $ */ package se.sics.cooja; @@ -71,6 +71,7 @@ public class EventQueue { event.remove(); } event.time = time; + event.removed = false; unsortedEvents.add(event); hasUnsortedEvents = true; }