Changeset 2186 in josm


Ignore:
Timestamp:
2009-09-23T21:27:58+02:00 (15 years ago)
Author:
jttt
Message:

Fix #3549

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/RelationMember.java

    r2083 r2186  
    1010
    1111    /**
    12      * 
     12     *
    1313     */
    14     private String role;
     14    private final String role;
    1515
    1616    /**
    17      * 
     17     *
    1818     */
    19     private OsmPrimitive member;
     19    private final OsmPrimitive member;
    2020
    2121    /**
  • trunk/src/org/openstreetmap/josm/gui/layer/GeoImageLayer.java

    r2017 r2186  
    223223        }
    224224
     225
    225226        public synchronized boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height) {
    226227            if ((infoflags & ImageObserver.ALLBITS) != 0) {
     
    229230                loadImage();
    230231                notifyAll();
     232            } else if ((infoflags & ImageObserver.ERROR) != 0) {
     233                currentEntry.scaledImage = new BufferedImage(1, 1, BufferedImage.TYPE_BYTE_BINARY);
     234                currentEntry = null;
    231235            }
    232236            return true;
Note: See TracChangeset for help on using the changeset viewer.