Changeset 12707 in josm


Ignore:
Timestamp:
2017-09-01T02:08:49+02:00 (12 months ago)
Author:
michael2402
Message:

Fix checkstyle warnings.

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

Legend:

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

    r12705 r12707  
    1616     * @return The height the component should have.
    1717     */
    18     public int getComponentHeight();
     18    int getComponentHeight();
    1919
    2020    /**
     
    2222     * @return <code>true</code> if the height should be adjustable
    2323     */
    24     public boolean isHeightAdjustable();
     24    boolean isHeightAdjustable();
    2525
    2626    /**
     
    2828     * @param height the height in pixel
    2929     */
    30     public default void storeHeight(int height) {
     30    default void storeHeight(int height) {
    3131        throw new UnsupportedOperationException(
    3232                "Setting the height is not supported for " + this.getClass().getCanonicalName());
     
    3737     * @author Michael Zangl
    3838     */
    39     public class FixedDownloadSourceSizePolicy implements DownloadSourceSizingPolicy {
     39    class FixedDownloadSourceSizePolicy implements DownloadSourceSizingPolicy {
    4040        private final Component base;
    4141
     
    6464     * Mind that using a preferred component size is not possible in this case, since the preference entry needs to have a onstant default value.
    6565     */
    66     public class AdjustableDownloadSizePolicy implements DownloadSourceSizingPolicy {
     66    class AdjustableDownloadSizePolicy implements DownloadSourceSizingPolicy {
    6767
    6868        private final AbstractProperty<Integer> preference;
  • trunk/src/org/openstreetmap/josm/gui/download/OverpassDownloadSource.java

    r12705 r12707  
    4747 */
    4848public class OverpassDownloadSource implements DownloadSource<OverpassDownloadSource.OverpassDownloadData> {
    49 
    5049
    5150    @Override
  • trunk/src/org/openstreetmap/josm/gui/preferences/remotecontrol/RemoteControlPreference.java

    r12703 r12707  
    177177            if (installCertificate != null && uninstallCertificate != null) {
    178178                // Install certificate button is enabled if HTTPS is also enabled
    179                 installCertificate.setEnabled(enableRemoteControl.isSelected() && enableHttpsSupport.isSelected() && RemoteControl.supportsHttps());
     179                installCertificate.setEnabled(enableRemoteControl.isSelected()
     180                        && enableHttpsSupport.isSelected() && RemoteControl.supportsHttps());
    180181                // Uninstall certificate button is always enabled
    181182                uninstallCertificate.setEnabled(RemoteControl.supportsHttps());
Note: See TracChangeset for help on using the changeset viewer.