Remove some unnecessary warnings.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 4 Sep 2008 23:16:02 +0000 (01:16 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 4 Sep 2008 23:16:02 +0000 (01:16 +0200)
src/net/pterodactylus/jsite/core/RequestManager.java
src/net/pterodactylus/jsite/gui/LogWindow.java
src/net/pterodactylus/jsite/gui/ProjectPanel.java

index b6da95b..b4df6f2 100644 (file)
@@ -62,7 +62,6 @@ public class RequestManager implements NodeListener, HighLevelProgressListener {
        private NodeManager nodeManager;
 
        /** Request lists for all nodes. */
-       @SuppressWarnings("unused")
        private Map<Node, Map<String, Request>> nodeRequests = Collections.synchronizedMap(new HashMap<Node, Map<String, Request>>());
 
        //
index a94da05..4f1cdcc 100644 (file)
@@ -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);
index b046a7c..1ade7f3 100644 (file)
@@ -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();
                        }