Changeset 13453 in josm for trunk/src/org/openstreetmap/josm/io/DiffResultProcessor.java
- Timestamp:
- 2018-02-24T18:58:28+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/DiffResultProcessor.java
r13440 r13453 123 123 boolean readOnly = false; 124 124 if (ds != null) { 125 readOnly = ds.is ReadOnly();125 readOnly = ds.isLocked(); 126 126 if (readOnly) { 127 ds.un setReadOnly();127 ds.unlock(); 128 128 } 129 129 ds.beginUpdate(); … … 158 158 ds.endUpdate(); 159 159 if (readOnly) { 160 ds. setReadOnly();160 ds.lock(); 161 161 } 162 162 }
Note:
See TracChangeset
for help on using the changeset viewer.