Ignore:
Timestamp:
2017-08-22T22:26:32+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate all Main logging methods and introduce suitable replacements in Logging for most of them

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  
    2929import java.util.Map;
    3030
    31 import org.openstreetmap.josm.Main;
     31import org.openstreetmap.josm.tools.Logging;
    3232
    3333/**
     
    8585    private static void readBytes(InputStream in, byte[] b) throws IOException {
    8686        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");
    8888        }
    8989    }
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java

    r11747 r12620  
    2525import java.nio.charset.StandardCharsets;
    2626
    27 import org.openstreetmap.josm.Main;
     27import org.openstreetmap.josm.tools.Logging;
    2828import org.openstreetmap.josm.tools.Utils;
    2929
     
    152152    private static void readBytes(InputStream in, byte[] b) throws IOException {
    153153        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");
    155155        }
    156156    }
Note: See TracChangeset for help on using the changeset viewer.