Changeset 8404 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
- Timestamp:
- 2015-05-21T01:18:35+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r8394 r8404 287 287 if (zipEntryPath != null) 288 288 return new XmlStyleSource(entry); 289 if ( entry.url.toLowerCase().endsWith(".mapcss"))289 if (Utils.hasExtension(entry.url, "mapcss")) 290 290 return new MapCSSStyleSource(entry); 291 if ( entry.url.toLowerCase().endsWith(".xml"))291 if (Utils.hasExtension(entry.url, "xml")) 292 292 return new XmlStyleSource(entry); 293 293 else {
Note:
See TracChangeset
for help on using the changeset viewer.