Changeset 17846 in josm for trunk/src/org/openstreetmap/josm/data/gpx/WithAttributes.java
- Timestamp:
- 2021-05-01T21:50:00+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/WithAttributes.java
r15496 r17846 25 25 * The "exts" collection contains all extensions. 26 26 */ 27 private final GpxExtensionCollection exts = new GpxExtensionCollection(this);27 private GpxExtensionCollection exts; 28 28 29 29 /** … … 87 87 88 88 @Override 89 public boolean hasExtensions() { 90 return exts != null; 91 } 92 93 @Override 89 94 public GpxExtensionCollection getExtensions() { 95 if (exts == null) { 96 exts = new GpxExtensionCollection(this); 97 } 90 98 return exts; 91 99 }
Note:
See TracChangeset
for help on using the changeset viewer.