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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.