Changeset 5478 in josm for trunk/src/org/openstreetmap/josm/gui/layer
- Timestamp:
- 2012-08-26T17:16:50+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/Marker.java
r5464 r5478 49 49 * will create AudioMarkers for .wav files, ImageMarkers for .png/.jpg/.jpeg 50 50 * files, and WebMarkers for everything else. (The creation of a WebMarker will 51 * fail if there's no va ild URL in the <link> tag, so it might still make sense51 * fail if there's no valid URL in the <link> tag, so it might still make sense 52 52 * to add Makers for such waypoints at the end of the list.) 53 53 * … … 77 77 // will make gui for it so I'm keeping it here 78 78 79 private final static Map<String, TemplateEntryProperty> cache = new HashMap<String, Marker.TemplateEntryProperty>();79 private final static Map<String, TemplateEntryProperty> cache = new HashMap<String, TemplateEntryProperty>(); 80 80 81 81 // Legacy code - convert label from int to template engine expression … … 137 137 138 138 private TemplateEntryProperty(String key, String defaultValue, TemplateEntryProperty parent) throws ParseError { 139 super(key, new TemplateParser(defaultValue).parse(),defaultValue);139 super(key, defaultValue); 140 140 this.parent = parent; 141 141 updateValue(); // Needs to be called because parent wasn't know in super constructor
Note:
See TracChangeset
for help on using the changeset viewer.