Changeset 19060 in josm


Ignore:
Timestamp:
2024-04-26T09:41:16+02:00 (2 weeks ago)
Author:
stoecker
Message:

fix pmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r19057 r19060  
    162162         * Attempts to trace repaints that did not originate from this listener. Good to find missed {@link MapView#repaint()}s in code.
    163163         */
    164         protected synchronized void traceRandomRepaint() {
     164        private synchronized void traceRandomRepaint() {
    165165            if (!ignoreRepaint) {
    166166                Logging.trace("Repaint: {0} from {1}", Thread.currentThread().getStackTrace()[3], Thread.currentThread());
     
    173173         * @return The layers
    174174         */
    175         protected synchronized Set<MapViewPaintable> collectInvalidatedLayers() {
     175        private synchronized Set<MapViewPaintable> collectInvalidatedLayers() {
    176176            Set<MapViewPaintable> layers = Collections.newSetFromMap(new IdentityHashMap<MapViewPaintable, Boolean>());
    177177            layers.addAll(invalidatedLayers);
Note: See TracChangeset for help on using the changeset viewer.