Index: trunk/src/org/openstreetmap/josm/gui/MapView.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 19057)
+++ trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 19060)
@@ -162,5 +162,5 @@
          * Attempts to trace repaints that did not originate from this listener. Good to find missed {@link MapView#repaint()}s in code.
          */
-        protected synchronized void traceRandomRepaint() {
+        private synchronized void traceRandomRepaint() {
             if (!ignoreRepaint) {
                 Logging.trace("Repaint: {0} from {1}", Thread.currentThread().getStackTrace()[3], Thread.currentThread());
@@ -173,5 +173,5 @@
          * @return The layers
          */
-        protected synchronized Set<MapViewPaintable> collectInvalidatedLayers() {
+        private synchronized Set<MapViewPaintable> collectInvalidatedLayers() {
             Set<MapViewPaintable> layers = Collections.newSetFromMap(new IdentityHashMap<MapViewPaintable, Boolean>());
             layers.addAll(invalidatedLayers);
