Ignore:
Timestamp:
2015-05-09T12:49:35+02:00 (9 years ago)
Author:
Don-vip
Message:

code style - Close curly brace and the next "else", "catch" and "finally" keywords should be located on the same line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java

    r8318 r8342  
    499499                            tempG.drawImage(e.thumbnail, target.x, target.y, target.width, target.height, null);
    500500                        }
    501                     }
    502                     else { // thumbnail not loaded yet
     501                    } else { // thumbnail not loaded yet
    503502                        icon.paintIcon(mv, tempG,
    504503                                p.x - icon.getIconWidth() / 2,
     
    509508            }
    510509            g.drawImage(offscreenBuffer, 0, 0, null);
    511         }
    512         else {
     510        } else {
    513511            for (ImageEntry e : data) {
    514512                if (e.getPos() == null) {
     
    534532                    imgWidth = d.width;
    535533                    imgHeight = d.height;
    536                 }
    537                 else {
     534                } else {
    538535                    imgWidth = selectedIcon.getIconWidth();
    539536                    imgHeight = selectedIcon.getIconHeight();
     
    694691                cal.set(Calendar.MONTH, Integer.parseInt(dateStampComps[1]) - 1);
    695692                cal.set(Calendar.DAY_OF_MONTH, Integer.parseInt(dateStampComps[2]));
    696             }
    697             else {
     693            } else {
    698694                // No GPS date stamp in EXIF data. Copy it from EXIF time.
    699695                // Date is not set if EXIF time is not available.
Note: See TracChangeset for help on using the changeset viewer.