- Timestamp:
- 2017-10-11T14:52:45+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/preferences
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java
r12881 r12983 231 231 protected Preferences getPreferences() { 232 232 return preferences; 233 } 234 235 /** 236 * Creates a new {@link CachingProperty} instance for this property. 237 * @return The new caching property instance. 238 * @since 12983 239 */ 240 public CachingProperty<T> cached() { 241 return new CachingProperty<>(this); 233 242 } 234 243 -
trunk/src/org/openstreetmap/josm/data/preferences/AbstractToStringProperty.java
r12881 r12983 146 146 } 147 147 148 /** 149 * Creates a new {@link CachingProperty} instance for this property. 150 * @return The new caching property instance. 151 */ 148 @Override 152 149 public CachingProperty<T> cached() { 153 return new CachingProperty<>(this); 150 // Removing this implementation breaks binary compatibility 151 return super.cached(); 154 152 } 155 153 }
Note:
See TracChangeset
for help on using the changeset viewer.