Index: trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 7596)
@@ -98,4 +98,5 @@
 
     // Fake reference to keep build scripts from removing ObjectFactory class. This class is not used directly but it's necessary for jaxb to work
+    @SuppressWarnings("unused")
     private static final ObjectFactory OBJECT_FACTORY = null;
 
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java	(revision 7596)
@@ -6,5 +6,4 @@
 import java.util.Collection;
 import java.util.Collections;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Map.Entry;
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 7596)
@@ -28,5 +28,4 @@
 import org.openstreetmap.josm.data.osm.Node;
 import org.openstreetmap.josm.data.osm.OsmPrimitive;
-import org.openstreetmap.josm.data.osm.Way;
 import org.openstreetmap.josm.gui.mappaint.Cascade;
 import org.openstreetmap.josm.gui.mappaint.Environment;
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java	(revision 7596)
@@ -14,5 +14,4 @@
 import java.util.List;
 import java.util.Map;
-import java.util.Objects;
 
 import org.openstreetmap.josm.Main;
Index: trunk/src/org/openstreetmap/josm/io/FileImporter.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/FileImporter.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/io/FileImporter.java	(revision 7596)
@@ -48,4 +48,5 @@
     /**
      * A batch importer is a file importer that prefers to read multiple files at the same time.
+     * @return {@code true} if this importer is a batch importer
      */
     public boolean isBatchImporter() {
@@ -55,4 +56,8 @@
     /**
      * Needs to be implemented if isBatchImporter() returns false.
+     * @param file file to import
+     * @param progressMonitor progress monitor
+     * @throws IOException if any I/O error occurs
+     * @throws IllegalDataException if invalid data is read
      */
     public void importData(File file, ProgressMonitor progressMonitor) throws IOException, IllegalDataException {
@@ -62,4 +67,8 @@
     /**
      * Needs to be implemented if isBatchImporter() returns true.
+     * @param files files to import
+     * @param progressMonitor progress monitor
+     * @throws IOException if any I/O error occurs
+     * @throws IllegalDataException if invalid data is read
      */
     public void importData(List<File> files, ProgressMonitor progressMonitor) throws IOException, IllegalDataException {
Index: trunk/src/org/openstreetmap/josm/io/NmeaReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/NmeaReader.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/io/NmeaReader.java	(revision 7596)
@@ -3,4 +3,5 @@
 
 import java.io.BufferedReader;
+import java.io.IOException;
 import java.io.InputStream;
 import java.io.InputStreamReader;
@@ -165,5 +166,5 @@
     }
 
-    public NmeaReader(InputStream source) {
+    public NmeaReader(InputStream source) throws IOException {
 
         // create the data tree
@@ -201,5 +202,5 @@
             data.tracks.add(new ImmutableGpxTrack(currentTrack, Collections.<String, Object>emptyMap()));
 
-        } catch (Exception e) {
+        } catch (IllegalDataException e) {
             Main.warn(e);
         }
Index: trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java
===================================================================
--- trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java	(revision 7596)
@@ -44,5 +44,5 @@
     private final Collection<PluginInformation> failed = new LinkedList<>();
     private final Collection<PluginInformation> downloaded = new LinkedList<>();
-    private Exception lastException;
+    //private Exception lastException;
     private boolean canceled;
     private HttpURLConnection downloadConnection;
@@ -155,5 +155,5 @@
         File pluginDir = Main.pref.getPluginsDirectory();
         if (!pluginDir.exists() && !pluginDir.mkdirs()) {
-            lastException = new PluginDownloadException(tr("Failed to create plugin directory ''{0}''", pluginDir.toString()));
+            //lastException = new PluginDownloadException(tr("Failed to create plugin directory ''{0}''", pluginDir.toString()));
             failed.addAll(toUpdate);
             return;
Index: trunk/src/org/openstreetmap/josm/plugins/ReadLocalPluginInformationTask.java
===================================================================
--- trunk/src/org/openstreetmap/josm/plugins/ReadLocalPluginInformationTask.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/plugins/ReadLocalPluginInformationTask.java	(revision 7596)
@@ -19,5 +19,4 @@
 import org.openstreetmap.josm.io.OsmTransferException;
 import org.openstreetmap.josm.tools.ImageProvider;
-import org.openstreetmap.josm.tools.Utils;
 import org.xml.sax.SAXException;
 
Index: trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java	(revision 7596)
@@ -36,5 +36,4 @@
 import org.openstreetmap.josm.tools.date.DateUtils;
 
-@SuppressWarnings("CallToThreadDumpStack")
 public final class ExceptionUtil {
 
Index: trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java	(revision 7595)
+++ trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java	(revision 7596)
@@ -120,5 +120,5 @@
             if (children == null) {
                 @SuppressWarnings("unchecked")
-                GPLevel<T>[] tmp = (GPLevel<T>[]) new GPLevel[4];
+                GPLevel<T>[] tmp = new GPLevel[4];
                 this.children = tmp;
             }
