From 94dfa322a3cbaf070f6da450a382098c4d8421d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 14 Apr 2011 19:59:56 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20call=20touch()=20when=20setting?= =?utf8?q?=20all=20elements=20at=20once.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/notify/ListNotification.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java index c66d376..3a79c93 100644 --- a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java +++ b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java @@ -101,7 +101,8 @@ public class ListNotification extends TemplateNotification { } /** - * Sets the elements to show in this notification. + * Sets the elements to show in this notification. This method will not call + * {@link #touch()}. * * @param elements * The elements to show @@ -109,7 +110,6 @@ public class ListNotification extends TemplateNotification { public void setElements(Collection elements) { this.elements.clear(); this.elements.addAll(elements); - touch(); } /** -- 2.7.4