- Timestamp:
- 2017-09-08T09:46:56+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFileWrapper.java
r12783 r12784 50 50 51 51 /** 52 * Lists default directories where the ntv2 shift files (NAD) for the proj453 * library would be located on different platforms.54 */55 public static final PlatformVisitor<List<File>> DEFAULT_PROJ4_NTV2_SHIFT_DIRS =56 new PlatformVisitor<List<File>>() {57 @Override58 public List<File> visitUnixoid() {59 return Arrays.asList(new File("/usr/local/share/proj"), new File("/usr/share/proj"));60 }61 62 @Override63 public List<File> visitWindows() {64 return Arrays.asList(new File("C:\\PROJ\\NAD"));65 }66 67 @Override68 public List<File> visitOsx() {69 return Collections.emptyList();70 }71 };72 73 /**74 52 * Returns the actual {@link NTV2GridShiftFile} behind this wrapper. 75 53 * The grid file is only loaded once, when first accessed. … … 87 65 instance = ntv2; 88 66 break; 89 90 91 67 } 68 } 69 } 92 70 } 93 71 return instance; -
trunk/src/org/openstreetmap/josm/tools/Platform.java
r12781 r12784 38 38 }; 39 39 40 private static Platform platform; 40 private static volatile Platform platform; 41 41 42 42 /**
Note:
See TracChangeset
for help on using the changeset viewer.