Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/BufferedImageCacheEntry.java

    r8488 r8510  
    4242        if (imageLoaded)
    4343            return img;
    44         synchronized(this) {
     44        synchronized (this) {
    4545            if (imageLoaded)
    4646                return img;
     
    5757        return img;
    5858    }
    59 
    6059
    6160    private void writeObject(java.io.ObjectOutputStream out) throws IOException {
     
    8180        synchronized (this) {
    8281            if (content == null && img != null) {
    83                 throw new AssertionError("Trying to serialize (save to disk?) an BufferedImageCacheEntry that was converted to BufferedImage and no raw data is present anymore");
     82                throw new AssertionError("Trying to serialize (save to disk?) an BufferedImageCacheEntry " +
     83                        "that was converted to BufferedImage and no raw data is present anymore");
    8484            }
    8585            out.writeObject(this);
     
    9090                content = null;
    9191            }
    92 
    9392        }
    9493    }
Note: See TracChangeset for help on using the changeset viewer.