From 7f47f7e6579aa91bf5e867f7a6ea8155761eb26a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 28 May 2013 12:59:32 +0200 Subject: [PATCH] Initialize start time with a value that will always be different. --- .../java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java b/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java index faff0bd..6f31830 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java @@ -43,7 +43,7 @@ public class TimeCounterFilter extends DummyFilter { private final boolean resetOnMetadataUpdate; /** The last displayed timestamp. */ - private final AtomicLong lastTimestamp = new AtomicLong(0); + private final AtomicLong lastTimestamp = new AtomicLong(-1); /** * Creates a new time counter filter that automatically resets the counter when -- 2.7.4