From 9161c1d7f558fee1cde877b8179463b113671d07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 23 Jan 2013 07:02:35 +0100 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20remove=20ticker=20object=20when?= =?utf8?q?=20notification=20is=20shown.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This will prevent an NPE if the Sone is unlocked. --- src/main/java/net/pterodactylus/sone/web/WebInterface.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index 60cda15..d9a9dfb 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -964,7 +964,6 @@ public class WebInterface { @SuppressWarnings("synthetic-access") public void run() { lockedSonesNotification.add(sone); - lockedSonesTickerObjects.remove(sone); notificationManager.addNotification(lockedSonesNotification); } }, 5, TimeUnit.MINUTES); -- 2.7.4