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

Location:
trunk/src/org/openstreetmap/josm/gui/download
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/BookmarkList.java

    r8338 r8342  
    162162                try {
    163163                    bookmarks.add(new Bookmark(entry));
    164                 }
    165                 catch (Exception e) {
     164                } catch (Exception e) {
    166165                    Main.error(tr("Error reading bookmark entry: %s", e.getMessage()));
    167166                }
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r8308 r8342  
    381381            );
    382382            boundingBoxChanged(currentBounds,null);
    383         }
    384         else {
     383        } else {
    385384            Bounds bounds = getSavedDownloadBounds();
    386385            if (bounds != null) {
  • trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java

    r7509 r8342  
    6060            Dimension iScreenSize = Toolkit.getDefaultToolkit().getScreenSize();
    6161
    62             // enlarge
    63             if(iDownloadDialogDimension == null) {
    64                 // make the each dimension 90% of the absolute display size
     62            if (iDownloadDialogDimension == null) {
     63                // enlarge: make the each dimension 90% of the absolute display size
    6564                w = iScreenSize.width * 90 / 100;
    6665                h = iScreenSize.height * 90 / 100;
    6766                iDownloadDialogDimension = iGui.getSize();
    68             }
    69             // shrink
    70             else {
    71                 // set the size back to the initial dimensions
     67            } else {
     68                // shrink: set the size back to the initial dimensions
    7269                w = iDownloadDialogDimension.width;
    7370                h = iDownloadDialogDimension.height;
Note: See TracChangeset for help on using the changeset viewer.