Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/data/projection/datum
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/projection/datum
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFile.java
r11747 r12620 29 29 import java.util.Map; 30 30 31 import org.openstreetmap.josm. Main;31 import org.openstreetmap.josm.tools.Logging; 32 32 33 33 /** … … 85 85 private static void readBytes(InputStream in, byte[] b) throws IOException { 86 86 if (in.read(b) < b.length) { 87 Main.error("Failed to read expected amount of bytes ("+ b.length +") from stream");87 Logging.error("Failed to read expected amount of bytes ("+ b.length +") from stream"); 88 88 } 89 89 } -
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java
r11747 r12620 25 25 import java.nio.charset.StandardCharsets; 26 26 27 import org.openstreetmap.josm. Main;27 import org.openstreetmap.josm.tools.Logging; 28 28 import org.openstreetmap.josm.tools.Utils; 29 29 … … 152 152 private static void readBytes(InputStream in, byte[] b) throws IOException { 153 153 if (in.read(b) < b.length) { 154 Main.error("Failed to read expected amount of bytes ("+ b.length +") from stream");154 Logging.error("Failed to read expected amount of bytes ("+ b.length +") from stream"); 155 155 } 156 156 }
Note:
See TracChangeset
for help on using the changeset viewer.