Changeset 32723 in osm for applications/viewer/jmapviewer/src
- Timestamp:
- 2016-07-26T22:29:14+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r32180 r32723 309 309 310 310 if (markers && mapMarkerList != null) { 311 synchronized ( mapMarkerList) {311 synchronized (this) { 312 312 for (MapMarker marker : mapMarkerList) { 313 313 if (marker.isVisible()) { … … 323 323 324 324 if (rectangles && mapRectangleList != null) { 325 synchronized ( mapRectangleList) {325 synchronized (this) { 326 326 for (MapRectangle rectangle : mapRectangleList) { 327 327 if (rectangle.isVisible()) { … … 338 338 339 339 if (polygons && mapPolygonList != null) { 340 synchronized ( mapPolygonList) {340 synchronized (this) { 341 341 for (MapPolygon polygon : mapPolygonList) { 342 342 if (polygon.isVisible()) { … … 657 657 658 658 if (mapPolygonsVisible && mapPolygonList != null) { 659 synchronized ( mapPolygonList) {659 synchronized (this) { 660 660 for (MapPolygon polygon : mapPolygonList) { 661 661 if (polygon.isVisible()) … … 666 666 667 667 if (mapRectanglesVisible && mapRectangleList != null) { 668 synchronized ( mapRectangleList) {668 synchronized (this) { 669 669 for (MapRectangle rectangle : mapRectangleList) { 670 670 if (rectangle.isVisible()) … … 675 675 676 676 if (mapMarkersVisible && mapMarkerList != null) { 677 synchronized ( mapMarkerList) {677 synchronized (this) { 678 678 for (MapMarker marker : mapMarkerList) { 679 679 if (marker.isVisible())
Note:
See TracChangeset
for help on using the changeset viewer.