Changeset 11324 in josm for trunk/scripts
- Timestamp:
- 2016-11-27T05:16:30+01:00 (7 years ago)
- Location:
- trunk/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/BuildProjectionDefinitions.java
r9667 r11324 63 63 } 64 64 65 try ( BufferedWriter out = new BufferedWriter(new OutputStreamWriter(66 new FileOutputStream(baseDir + File.separator + OUTPUT_EPSG_FILE), StandardCharsets.UTF_8))) {65 try (FileOutputStream output = new FileOutputStream(baseDir + File.separator + OUTPUT_EPSG_FILE); 66 BufferedWriter out = new BufferedWriter(new OutputStreamWriter(output, StandardCharsets.UTF_8))) { 67 67 out.write("## This file is autogenerated, do not edit!\n"); 68 68 out.write("## Run ant task \"epsg\" to rebuild.\n"); 69 out.write(String.format("## Source files are %s (can be changed) and %s (copied from the proj.4 project).%n", JOSM_EPSG_FILE, PROJ4_EPSG_FILE)); 69 out.write(String.format("## Source files are %s (can be changed) and %s (copied from the proj.4 project).%n", 70 JOSM_EPSG_FILE, PROJ4_EPSG_FILE)); 70 71 out.write("##\n"); 71 72 out.write("## Entries checked and maintained by the JOSM team:\n"); -
trunk/scripts/TagInfoExtract.groovy
r11252 r11324 9 9 * groovy -cp dist/josm-custom.jar scripts/taginfoextract.groovy -t external_presets 10 10 */ 11 import groovy.json.JsonBuilder12 13 11 import java.awt.image.BufferedImage 14 12 import java.nio.file.FileSystems … … 49 47 import org.openstreetmap.josm.tools.Utils 50 48 49 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings 50 import groovy.json.JsonBuilder 51 51 52 class TagInfoExtract { 52 53 … … 118 119 } 119 120 121 @SuppressFBWarnings(value = "MF_CLASS_MASKS_FIELD") 120 122 class NodeChecker extends Checker { 121 123 NodeChecker(tag) { … … 137 139 } 138 140 141 @SuppressFBWarnings(value = "MF_CLASS_MASKS_FIELD") 139 142 class WayChecker extends Checker { 140 143 WayChecker(tag) { … … 159 162 } 160 163 164 @SuppressFBWarnings(value = "MF_CLASS_MASKS_FIELD") 161 165 class AreaChecker extends Checker { 162 166 AreaChecker(tag) {
Note:
See TracChangeset
for help on using the changeset viewer.