- Timestamp:
- 2015-10-22T00:50:36+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/MapRectifierWMSmenuAction.java
r8870 r8925 231 231 * @param url URL to the WMS server 232 232 * @throws IllegalStateException if imagery time is neither HTML nor WMS 233 * @see WMSLayer#checkGrabberType234 233 */ 235 234 private static void addWMSLayer(String title, String url) { -
trunk/src/org/openstreetmap/josm/gui/MapView.java
r8840 r8925 225 225 226 226 /** 227 * A list of all layers currently loaded. Locked by {@link #layerLock}.227 * A list of all layers currently loaded. 228 228 */ 229 229 private final transient List<Layer> layers = new ArrayList<>(); 230 230 231 231 /** 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 /**240 232 * The play head marker: there is only one of these so it isn't in any specific layer 241 233 */ … … 243 235 244 236 /** 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. 246 238 */ 247 239 private transient Layer activeLayer; 248 240 249 241 /** 250 * The edit layer is the current active data layer. Locked by {@link #layerLock}.242 * The edit layer is the current active data layer. 251 243 */ 252 244 private transient OsmDataLayer editLayer; … … 876 868 * Sets the active edit layer. 877 869 * <p> 878 * You must own a write {@link #layerLock} when calling this method.879 870 * @param layersList A list to select that layer from. 880 871 * @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.