From aea033be47314458fd157b1a9933753eb56bdf01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 25 May 2011 19:29:45 +0200 Subject: [PATCH] Remove useless line. --- .../java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java b/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java index 650a9ae..bd1457f 100644 --- a/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationAjaxPage.java @@ -19,7 +19,6 @@ package net.pterodactylus.sone.web.ajax; import java.io.IOException; import java.io.StringWriter; -import java.util.ArrayList; import net.pterodactylus.sone.data.Post; import net.pterodactylus.sone.data.Reply; @@ -82,7 +81,6 @@ public class GetNotificationAjaxPage extends JsonPage { Sone currentSone = webInterface.getCurrentSone(request.getToadletContext(), false); for (String notificationId : notificationIds) { Notification notification = webInterface.getNotifications().getNotification(notificationId); - ListNotificationFilters.filterNotifications(new ArrayList(), currentSone); if ("new-post-notification".equals(notificationId)) { notification = ListNotificationFilters.filterNewPostNotification((ListNotification) notification, currentSone); } else if ("new-reply-notification".equals(notificationId)) { -- 2.7.4