Index: trunk/src/org/openstreetmap/josm/io/JpgImporter.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/JpgImporter.java	(revision 12285)
+++ trunk/src/org/openstreetmap/josm/io/JpgImporter.java	(revision 12286)
@@ -16,5 +16,4 @@
 import org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer;
 import org.openstreetmap.josm.gui.progress.ProgressMonitor;
-import org.openstreetmap.josm.tools.Utils;
 
 /**
@@ -88,5 +87,5 @@
     }
 
-    private static void addRecursiveFiles(List<File> files, Set<String> visitedDirs, List<File> sel, ProgressMonitor progressMonitor)
+    static void addRecursiveFiles(List<File> files, Set<String> visitedDirs, List<File> sel, ProgressMonitor progressMonitor)
             throws IOException {
 
@@ -107,5 +106,5 @@
                     }
                 } else {
-                    if (Utils.hasExtension(f, "jpg")) {
+                    if (FILE_FILTER.accept(f)) {
                         files.add(f);
                     }
