Ignore:
Timestamp:
2017-09-08T00:42:43+02:00 (2 years ago)
Author:
bastiK
Message:

see #15229 - add registry for NTV2 grid file sources

removes dependency of NTV2GridShiftFileWrapper on Main

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHook.java

    r12776 r12777  
    2020
    2121import org.openstreetmap.josm.Main;
    22 import org.openstreetmap.josm.data.projection.datum.NTV2GridShiftFileWrapper;
     22import org.openstreetmap.josm.data.projection.datum.NTV2Proj4DirGridShiftFileSource;
    2323import org.openstreetmap.josm.io.CertificateAmendment.CertAmend;
    2424import org.openstreetmap.josm.tools.date.DateUtils;
     
    259259     */
    260260    default List<File> getDefaultProj4NadshiftDirectories() {
    261         return getPlatform().accept(NTV2GridShiftFileWrapper.DEFAULT_PROJ4_NTV2_SHIFT_DIRS);
     261        return getPlatform().accept(NTV2Proj4DirGridShiftFileSource.getInstance());
    262262    }
    263263
Note: See TracChangeset for help on using the changeset viewer.