Changeset 14155 in josm for trunk/src/org/openstreetmap/josm/data/preferences
- Timestamp:
- 2018-08-13T22:57:07+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java
r13493 r14155 163 163 */ 164 164 public AbstractProperty(String key, T defaultValue) { 165 // Main.prefshould not change in production but may change during tests.165 // Config.getPref() should not change in production but may change during tests. 166 166 preferences = Config.getPref(); 167 167 this.key = key; … … 188 188 /** 189 189 * Determines if this property is currently set in JOSM preferences. 190 * @return true if {@code Main.pref} contains this property.190 * @return true if {@code getPreferences()} contains this property. 191 191 */ 192 192 public boolean isSet() {
Note:
See TracChangeset
for help on using the changeset viewer.
