From 5c4c95f6e37d87251f64b5b6f6d661123dfc6469 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 5 Sep 2008 01:16:02 +0200 Subject: [PATCH] Remove some unnecessary warnings. --- src/net/pterodactylus/jsite/core/RequestManager.java | 1 - src/net/pterodactylus/jsite/gui/LogWindow.java | 1 - src/net/pterodactylus/jsite/gui/ProjectPanel.java | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/net/pterodactylus/jsite/core/RequestManager.java b/src/net/pterodactylus/jsite/core/RequestManager.java index b6da95b..b4df6f2 100644 --- a/src/net/pterodactylus/jsite/core/RequestManager.java +++ b/src/net/pterodactylus/jsite/core/RequestManager.java @@ -62,7 +62,6 @@ public class RequestManager implements NodeListener, HighLevelProgressListener { private NodeManager nodeManager; /** Request lists for all nodes. */ - @SuppressWarnings("unused") private Map> nodeRequests = Collections.synchronizedMap(new HashMap>()); // diff --git a/src/net/pterodactylus/jsite/gui/LogWindow.java b/src/net/pterodactylus/jsite/gui/LogWindow.java index a94da05..4f1cdcc 100644 --- a/src/net/pterodactylus/jsite/gui/LogWindow.java +++ b/src/net/pterodactylus/jsite/gui/LogWindow.java @@ -179,7 +179,6 @@ public class LogWindow extends JFrame implements LoggingListener, ActionListener * @param logRecord * The log record to add */ - @SuppressWarnings("synthetic-access") public synchronized void addLogRecord(LogRecord logRecord) { logRecords.add(logRecord); fireTableRowsInserted(logRecords.size() - 1, logRecords.size() - 1); diff --git a/src/net/pterodactylus/jsite/gui/ProjectPanel.java b/src/net/pterodactylus/jsite/gui/ProjectPanel.java index b046a7c..1ade7f3 100644 --- a/src/net/pterodactylus/jsite/gui/ProjectPanel.java +++ b/src/net/pterodactylus/jsite/gui/ProjectPanel.java @@ -61,7 +61,6 @@ import net.pterodactylus.util.logging.Logging; public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** Logger. */ - @SuppressWarnings("unused") private static final Logger logger = Logging.getLogger(ProjectPanel.class.getName()); /** The Swing interface. */ @@ -171,7 +170,6 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * {@inheritDoc} */ - @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { changeBasePath(); } -- 2.7.4