Ignore:
Timestamp:
2014-05-09T05:32:37+02:00 (5 years ago)
Author:
Don-vip
Message:

see #8465 - replace Utils.UTF_8 by StandardCharsets.UTF_8, new in Java 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/GettingStarted.java

    r7075 r7082  
    1212import java.io.IOException;
    1313import java.net.URL;
     14import java.nio.charset.StandardCharsets;
    1415import java.util.regex.Matcher;
    1516import java.util.regex.Pattern;
     
    3132import org.openstreetmap.josm.tools.LanguageInfo;
    3233import org.openstreetmap.josm.tools.OpenBrowser;
    33 import org.openstreetmap.josm.tools.Utils;
    3434import org.openstreetmap.josm.tools.WikiReader;
    3535
     
    9292            Main.pref.put("cache.motd.html.java", myJava);
    9393            Main.pref.put("cache.motd.html.lang", myLang);
    94             return motd.getBytes(Utils.UTF_8);
     94            return motd.getBytes(StandardCharsets.UTF_8);
    9595        }
    9696
Note: See TracChangeset for help on using the changeset viewer.