From: David ‘Bombe’ Roden Date: Sun, 22 Jun 2008 10:23:58 +0000 (+0200) Subject: add tags and annotations to suppress warnings X-Git-Url: https://git.pterodactylus.net/?p=jSite2.git;a=commitdiff_plain;h=c25f6b045eb48da039b7fb2784158b027e9b2fb3 add tags and annotations to suppress warnings --- diff --git a/src/net/pterodactylus/jsite/core/InsertManager.java b/src/net/pterodactylus/jsite/core/InsertManager.java index 1a55798..9d47da5 100644 --- a/src/net/pterodactylus/jsite/core/InsertManager.java +++ b/src/net/pterodactylus/jsite/core/InsertManager.java @@ -93,6 +93,7 @@ public class InsertManager { * @param insert * The insert that was removes */ + @SuppressWarnings("unused") private void fireInsertRemoved(Insert insert) { synchronized (insertListeners) { for (InsertListener insertListener : insertListeners) { @@ -107,6 +108,7 @@ public class InsertManager { * @param insert * The insert that was started */ + @SuppressWarnings("unused") private void fireInsertStarted(Insert insert) { synchronized (insertListeners) { for (InsertListener insertListener : insertListeners) { @@ -121,6 +123,7 @@ public class InsertManager { * @param insert * The insert that made some progress */ + @SuppressWarnings("unused") private void fireInsertProgressed(Insert insert) { synchronized (insertListeners) { for (InsertListener insertListener : insertListeners) { @@ -134,7 +137,10 @@ public class InsertManager { * * @param insert * The insert that generated a URI + * @param uri + * The generated URI */ + @SuppressWarnings("unused") private void fireInsertGeneratedURI(Insert insert, String uri) { synchronized (insertListeners) { for (InsertListener insertListener : insertListeners) { @@ -149,6 +155,7 @@ public class InsertManager { * @param insert * The insert that has finished */ + @SuppressWarnings("unused") private void fireInsertFinished(Insert insert) { synchronized (insertListeners) { for (InsertListener insertListener : insertListeners) {