Ignore:
Timestamp:
2016-01-02T00:54:32+01:00 (8 years ago)
Author:
Don-vip
Message:

see #10684 - update to checkstyle 6.14.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageResource.java

    r9251 r9252  
    164164            realHeight = svg.getHeight();
    165165            /* extend small images to the possible maximum, may get reduced later again */
    166             if(maxSize.width != -1 && realWidth < maxSize.width) {
     166            if (maxSize.width != -1 && realWidth < maxSize.width) {
    167167                realHeight *= maxSize.width/realWidth;
    168168                realWidth = maxSize.width;
    169169            }
    170             if(maxSize.height != -1 && realHeight < maxSize.height) {
     170            if (maxSize.height != -1 && realHeight < maxSize.height) {
    171171                realWidth *= maxSize.height/realHeight;
    172172                realHeight = maxSize.height;
Note: See TracChangeset for help on using the changeset viewer.