Changeset 14155 in josm for trunk


Ignore:
Timestamp:
2018-08-13T22:57:07+02:00 (6 years ago)
Author:
Don-vip
Message:

javadoc

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java

    r13493 r14155  
    163163     */
    164164    public AbstractProperty(String key, T defaultValue) {
    165         // Main.pref should not change in production but may change during tests.
     165        // Config.getPref() should not change in production but may change during tests.
    166166        preferences = Config.getPref();
    167167        this.key = key;
     
    188188    /**
    189189     * 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.
    191191     */
    192192    public boolean isSet() {
  • trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java

    r14120 r14155  
    100100            /*
    101101             *  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 update
     102             *  from this tile source. So create tilesource first with dummy ProjectionRegistry.getProjection(), and then update
    103103             *  once we update server projections.
    104104             *
Note: See TracChangeset for help on using the changeset viewer.