- Timestamp:
- 2017-02-11T20:25:23+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainPanel.java
r10975 r11551 44 44 * @param showMap If the map should be displayed. 45 45 */ 46 protected void updateContent(boolean showMap) {46 protected synchronized void updateContent(boolean showMap) { 47 47 GuiHelper.assertCallFromEdt(); 48 48 MapFrame old = map; … … 109 109 * @return {@code true} if the listeners collection changed as a result of the call. 110 110 */ 111 public boolean addAndFireMapFrameListener(MapFrameListener listener) {111 public synchronized boolean addAndFireMapFrameListener(MapFrameListener listener) { 112 112 boolean changed = addMapFrameListener(listener); 113 113 if (changed && map != null) { … … 139 139 * @return The panel. 140 140 */ 141 public GettingStarted getGettingStarted() {141 public synchronized GettingStarted getGettingStarted() { 142 142 if (gettingStarted == null) { 143 143 gettingStarted = new GettingStarted();
Note:
See TracChangeset
for help on using the changeset viewer.