Changeset 8925 in josm for trunk


Ignore:
Timestamp:
2015-10-22T00:50:36+02:00 (9 years ago)
Author:
Don-vip
Message:

see #11631 - see #11689 - remove commented code causing javadoc warnings

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/MapRectifierWMSmenuAction.java

    r8870 r8925  
    231231     * @param url URL to the WMS server
    232232     * @throws IllegalStateException if imagery time is neither HTML nor WMS
    233      * @see WMSLayer#checkGrabberType
    234233     */
    235234    private static void addWMSLayer(String title, String url) {
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r8840 r8925  
    225225
    226226    /**
    227      * A list of all layers currently loaded. Locked by {@link #layerLock}.
     227     * A list of all layers currently loaded.
    228228     */
    229229    private final transient List<Layer> layers = new ArrayList<>();
    230230
    231231    /**
    232      * This lock manages concurrent access to {@link #layers},
    233      * {@link #editLayer} and {@link #activeLayer}.
    234      * <p>
    235      * The read lock is always held while those fields are read or while layer change listeners are fired.
    236      */
    237     //private final ReentrantReadWriteLock layerLock = new ReentrantReadWriteLock();
    238 
    239     /**
    240232     * The play head marker: there is only one of these so it isn't in any specific layer
    241233     */
     
    243235
    244236    /**
    245      * The layer from the layers list that is currently active. Locked by {@link #layerLock}.
     237     * The layer from the layers list that is currently active.
    246238     */
    247239    private transient Layer activeLayer;
    248240
    249241    /**
    250      * The edit layer is the current active data layer. Locked by {@link #layerLock}.
     242     * The edit layer is the current active data layer.
    251243     */
    252244    private transient OsmDataLayer editLayer;
     
    876868     * Sets the active edit layer.
    877869     * <p>
    878      * You must own a write {@link #layerLock} when calling this method.
    879870     * @param layersList A list to select that layer from.
    880871     * @return A list of change listeners that should be fired using {@link #onActiveEditLayerChanged(Layer, OsmDataLayer, EnumSet)}
Note: See TracChangeset for help on using the changeset viewer.