From: David ‘Bombe’ Roden Date: Thu, 4 Sep 2008 23:16:02 +0000 (+0200) Subject: Remove some unnecessary warnings. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5c4c95f6e37d87251f64b5b6f6d661123dfc6469;p=jSite2.git Remove some unnecessary warnings. --- 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(); }