Changeset 12286 in josm


Ignore:
Timestamp:
2017-05-31T21:20:24+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #14868 - Add support import *.jpeg images

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/JpgImporter.java

    r8870 r12286  
    1616import org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer;
    1717import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    18 import org.openstreetmap.josm.tools.Utils;
    1918
    2019/**
     
    8887    }
    8988
    90     private static void addRecursiveFiles(List<File> files, Set<String> visitedDirs, List<File> sel, ProgressMonitor progressMonitor)
     89    static void addRecursiveFiles(List<File> files, Set<String> visitedDirs, List<File> sel, ProgressMonitor progressMonitor)
    9190            throws IOException {
    9291
     
    107106                    }
    108107                } else {
    109                     if (Utils.hasExtension(f, "jpg")) {
     108                    if (FILE_FILTER.accept(f)) {
    110109                        files.add(f);
    111110                    }
Note: See TracChangeset for help on using the changeset viewer.