Index: applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java
===================================================================
--- applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java	(revision 30197)
+++ applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java	(revision 30428)
@@ -206,21 +206,4 @@
         return ! Main.map.mapView.getLayersOfType(GeoImageLayer.class).isEmpty();
     }
-    
-    /**
-     * Determine if there are photos that can be adjusted.  I.e. there
-     * is at least one GeoImageLayer that is visible (and contains
-     * photos).
-     *
-     * @return {@code true} if there are photos that can be ajusted
-     */
-    private boolean hasPhotosToAdjust() {
-        if (Main.map == null || Main.map.mapView == null) return false;
-        for (GeoImageLayer layer: new ArrayList<GeoImageLayer>(Main.map.mapView.getLayersOfType(GeoImageLayer.class))) {
-            if (layer.isVisible()) {
-                return true;
-            }
-        }
-        return false;
-    }
 
     /**
Index: applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/UntaggedGeoImageLayerAction.java
===================================================================
--- applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/UntaggedGeoImageLayerAction.java	(revision 30197)
+++ applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/UntaggedGeoImageLayerAction.java	(revision 30428)
@@ -27,7 +27,6 @@
     /** Define menu entry (text and image). */
     public UntaggedGeoImageLayerAction() {
-        super(tr("New layer for untagged images"),
-              ImageProvider.get("untaglayer"));
-    };
+        super(tr("New layer for untagged images"), ImageProvider.get("untaglayer"));
+    }
 
     /** Get the layer this menu entry belongs to. */
