Changeset 6248 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
- Timestamp:
- 2013-09-23T16:47:50+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r6174 r6248 100 100 .setHeight(height) 101 101 .setOptional(true).get(); 102 if(i == null) 103 { 104 System.out.println("Mappaint style \""+namespace+"\" ("+ref.source.getDisplayString()+") icon \"" + ref.iconName + "\" not found."); 102 if (i == null) { 103 Main.warn("Mappaint style \""+namespace+"\" ("+ref.source.getDisplayString()+") icon \"" + ref.iconName + "\" not found."); 105 104 return null; 106 105 } … … 243 242 } 244 243 } 245 System.err.println("Warning:Could not detect style type. Using default (xml).");244 Main.warn("Could not detect style type. Using default (xml)."); 246 245 return new XmlStyleSource(entry); 247 246 } 248 247 } catch (IOException e) { 249 System.err.println(tr("Warning: failed to load Mappaint styles from ''{0}''. Exception was: {1}", entry.url, e.toString()));248 Main.warn(tr("Failed to load Mappaint styles from ''{0}''. Exception was: {1}", entry.url, e.toString())); 250 249 e.printStackTrace(); 251 250 } finally {
Note:
See TracChangeset
for help on using the changeset viewer.