Ignore:
Timestamp:
2015-06-27T21:43:35+02:00 (9 years ago)
Author:
Don-vip
Message:

fix remaining checkstyle issues

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/FileChooserManager.java

    r8512 r8540  
    4949    }
    5050
     51    // CHECKSTYLE.OFF: LineLength
     52
    5153    /**
    5254     * Creates a new {@code FileChooserManager}.
     
    7577                : Main.pref.get(this.lastDirProperty);
    7678    }
     79
     80    // CHECKSTYLE.ON: LineLength
    7781
    7882    /**
  • trunk/src/org/openstreetmap/josm/gui/widgets/NativeFileChooser.java

    r7937 r8540  
    107107    @Override
    108108    public void setFileSelectionMode(int selectionMode) {
     109        // CHECKSTYLE.OFF: LineLength
    109110        // TODO implement this after Oracle fixes JDK-6192906 / JDK-6699863 / JDK-6927978 / JDK-7125172:
    110111        // https://bugs.openjdk.java.net/browse/JDK-6192906 : Add more features to java.awt.FileDialog
     
    116117        // http://stackoverflow.com/questions/1224714/how-can-i-make-a-java-filedialog-accept-directories-as-its-filetype-in-os-x/1224744#1224744
    117118        // https://bugs.openjdk.java.net/browse/JDK-7161437 : [macosx] awt.FileDialog doesn't respond appropriately for mac when selecting folders
     119        // CHECKSTYLE.ON: LineLength
    118120        this.selectionMode = selectionMode;
    119121    }
     
    164166        switch (selectionMode) {
    165167        case JFileChooser.FILES_AND_DIRECTORIES:
     168            // CHECKSTYLE.OFF: LineLength
    166169            // https://bugs.openjdk.java.net/browse/JDK-7125172 : FileDialog objects don't allow directory AND files selection simultaneously
    167170            return false;
    168171        case JFileChooser.DIRECTORIES_ONLY:
    169172            // http://stackoverflow.com/questions/1224714/how-can-i-make-a-java-filedialog-accept-directories-as-its-filetype-in-os-x/1224744#1224744
     173            // CHECKSTYLE.ON: LineLength
    170174            return Main.isPlatformOsx();
    171175        case JFileChooser.FILES_ONLY:
Note: See TracChangeset for help on using the changeset viewer.