Ignore:
Timestamp:
2016-11-27T05:16:30+01:00 (8 years ago)
Author:
Don-vip
Message:

findbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/BuildProjectionDefinitions.java

    r9667 r11324  
    6363        }
    6464
    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))) {
    6767            out.write("## This file is autogenerated, do not edit!\n");
    6868            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));
    7071            out.write("##\n");
    7172            out.write("## Entries checked and maintained by the JOSM team:\n");
Note: See TracChangeset for help on using the changeset viewer.