Ignore:
Timestamp:
2014-01-30T02:08:22+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java

    r6643 r6783  
    196196                    if (children != null) {
    197197                        progressMonitor.subTask(tr("Scanning directory {0}", f.getPath()));
    198                         try {
    199                             addRecursiveFiles(files, Arrays.asList(children));
    200                         } catch(NullPointerException npe) {
    201                             Main.error(npe);
    202                             rememberError(tr("Found null file in directory {0}\n", f.getPath()));
    203                         }
     198                        addRecursiveFiles(files, Arrays.asList(children));
    204199                    } else {
    205200                        rememberError(tr("Error while getting files from directory {0}\n", f.getPath()));
Note: See TracChangeset for help on using the changeset viewer.