Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryExportAction.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryExportAction.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryExportAction.java	(revision 31816)
@@ -61,5 +61,5 @@
     this.dialog = new MapillaryExportDialog(ok);
     pane.setMessage(this.dialog);
-    pane.setOptions(new JButton[] { ok, cancel });
+    pane.setOptions(new JButton[] {ok, cancel});
 
     JDialog dlg = pane.createDialog(Main.parent, tr("Export images"));
@@ -92,5 +92,5 @@
           .getData().getImages())
         if (image instanceof MapillaryImportedImage) {
-          images.add(((MapillaryImportedImage) image));
+          images.add((MapillaryImportedImage) image);
         }
       try {
@@ -114,5 +114,5 @@
   }
 
-  private class OKAction implements ActionListener {
+  private static class OKAction implements ActionListener {
     private final JOptionPane pane;
 
@@ -127,5 +127,5 @@
   }
 
-  private class CancelAction implements ActionListener {
+  private static class CancelAction implements ActionListener {
     private final JOptionPane pane;
 
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryImportAction.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryImportAction.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryImportAction.java	(revision 31816)
@@ -58,6 +58,5 @@
     this.chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
     this.chooser.setAcceptAllFileFilterUsed(false);
-    this.chooser.addChoosableFileFilter(new FileNameExtensionFilter("images",
-        "jpg", "jpeg", "png"));
+    this.chooser.addChoosableFileFilter(new FileNameExtensionFilter("images", "jpg", "jpeg", "png"));
     this.chooser.setMultiSelectionEnabled(true);
     if (this.chooser.showOpenDialog(Main.parent) == JFileChooser.APPROVE_OPTION) {
@@ -73,7 +72,7 @@
             String extension = MapillaryUtils.getExtension(file.listFiles()[j]);
             try {
-              if (extension.equals("jpg") || extension.equals("jpeg"))
+              if ("jpg".equals(extension) || "jpeg".equals(extension))
                 images.add(MapillaryUtils.readJPG(file.listFiles()[j]));
-              else if (extension.equals("png"))
+              else if ("png".equals(extension))
                 images.add(MapillaryUtils.readPNG(file.listFiles()[j]));
             } catch (ImageReadException | IOException | NullPointerException e1) {
@@ -83,5 +82,5 @@
         } else {
           String extension = MapillaryUtils.getExtension(file);
-          if (extension.equals("jpg") || extension.equals("jpeg")) {
+          if ("jpg".equals(extension) || "jpeg".equals(extension)) {
             try {
               images.add(MapillaryUtils.readJPG(file));
@@ -91,6 +90,5 @@
               Main.error(ex);
             }
-          } else if (file.getPath().substring(file.getPath().length() - 4)
-              .equals(".png")) {
+          } else if (".png".equals(file.getPath().substring(file.getPath().length() - 4))) {
             images.add(MapillaryUtils.readPNG(file));
           }
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryImportIntoSequenceAction.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryImportIntoSequenceAction.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryImportIntoSequenceAction.java	(revision 31816)
@@ -81,5 +81,5 @@
             String extension = MapillaryUtils.getExtension(file.listFiles()[j]);
             try {
-              if (extension.equals("jpg") || extension.equals("jpeg"))
+              if ("jpg".equals(extension) || "jpeg".equals(extension))
                 MapillaryUtils.readJPG(file.listFiles()[j], true);
             } catch (ImageReadException | NullPointerException | IOException e) {
@@ -89,5 +89,5 @@
         } else {
           String extension = MapillaryUtils.getExtension(file);
-          if (extension.equals("jpg") || extension.equals("jpeg")) {
+          if ("jpg".equals(extension) || "jpeg".equals(extension)) {
             try {
               this.images.add(MapillaryUtils.readJPG(file, true));
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * Actions that are normally attached to a button or a menu item and are then executed
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * This package is all about caching resources downloaded from
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/HyperlinkLabel.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/HyperlinkLabel.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/HyperlinkLabel.java	(revision 31816)
@@ -59,7 +59,6 @@
    * Sets a new URL, just pass the key of the image or null if there is none.
    *
-   * @param key
-   *          The key of the image that the hyperlink will point to.
-   * @throws MalformedURLException
+   * @param key The key of the image that the hyperlink will point to.
+   * @throws MalformedURLException when the key appended to the base URL forms a malformed URL
    */
   public void setURL(String key) throws MalformedURLException {
@@ -104,5 +103,5 @@
    *
    */
-  private class LinkPopUp extends JPopupMenu {
+  private static class LinkPopUp extends JPopupMenu {
 
     private static final long serialVersionUID = 1384054752970921552L;
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * The GUI components that are special to the mapillary plugin.
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/history/commands/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/history/commands/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/history/commands/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * The commands that the user can execute, which are recorded in the undo/redo-log.
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/history/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/history/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/history/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * This package deals with keeping a history of actions the user performed
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/download/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/download/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/download/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * Classes for downloading images, sequences and image metadata like traffic signs from <a href="https://mapillary.com">mapillary.com</a> .
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/export/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/export/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/export/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * Classes for exporting images that were downloaded from <a href="https://mapillary.com">mapillary.com</a> .
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * Classes for I/O operations like downloading images and their metadata and exporting them.
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * The different modes that the {@link org.openstreetmap.josm.plugins.mapillary.MapillaryLayer} can be in.
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/oauth/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/oauth/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/oauth/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * Everything related to signing users in and out of Mapillary.
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * The main package in which all core-code (so at the moment all code) resides.
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/traffico/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/traffico/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/traffico/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * Components for painting traffic signs with the help of the traffico icon font.
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/package-info.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/package-info.java	(revision 31815)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/package-info.java	(revision 31816)
@@ -1,2 +1,3 @@
+// License: GPL. For details, see LICENSE file.
 /**
  * Utility classes for simplifying recurring tasks throughout the project.
