Changeset 19060 in josm
- Timestamp:
- 2024-04-26T09:41:16+02:00 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r19057 r19060 162 162 * Attempts to trace repaints that did not originate from this listener. Good to find missed {@link MapView#repaint()}s in code. 163 163 */ 164 pr otectedsynchronized void traceRandomRepaint() {164 private synchronized void traceRandomRepaint() { 165 165 if (!ignoreRepaint) { 166 166 Logging.trace("Repaint: {0} from {1}", Thread.currentThread().getStackTrace()[3], Thread.currentThread()); … … 173 173 * @return The layers 174 174 */ 175 pr otectedsynchronized Set<MapViewPaintable> collectInvalidatedLayers() {175 private synchronized Set<MapViewPaintable> collectInvalidatedLayers() { 176 176 Set<MapViewPaintable> layers = Collections.newSetFromMap(new IdentityHashMap<MapViewPaintable, Boolean>()); 177 177 layers.addAll(invalidatedLayers);
Note:
See TracChangeset
for help on using the changeset viewer.