Changeset 6552 in josm for trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
- Timestamp:
- 2013-12-28T00:30:15+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r6525 r6552 10 10 import java.awt.event.KeyEvent; 11 11 import java.io.IOException; 12 import java.io.UnsupportedEncodingException;13 12 import java.net.URL; 14 13 import java.util.regex.Matcher; … … 31 30 import org.openstreetmap.josm.tools.LanguageInfo; 32 31 import org.openstreetmap.josm.tools.OpenBrowser; 32 import org.openstreetmap.josm.tools.Utils; 33 33 import org.openstreetmap.josm.tools.WikiReader; 34 34 … … 90 90 Main.pref.put("cache.motd.html.java", myJava); 91 91 Main.pref.put("cache.motd.html.lang", myLang); 92 try { 93 return motd.getBytes("utf-8"); 94 } catch(UnsupportedEncodingException e){ 95 e.printStackTrace(); 96 return new byte[0]; 97 } 92 return motd.getBytes(Utils.UTF_8); 98 93 } 99 94
Note:
See TracChangeset
for help on using the changeset viewer.