- Timestamp:
- 2018-08-13T22:57:07+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 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() { -
trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
r14120 r14155 100 100 /* 101 101 * Chicken-and-egg problem. We want to create tile source, but supported projections we can get only 102 * from this tile source. So create tilesource first with dummy Main.getProjection(), and then update102 * from this tile source. So create tilesource first with dummy ProjectionRegistry.getProjection(), and then update 103 103 * once we update server projections. 104 104 *
Note:
See TracChangeset
for help on using the changeset viewer.