Ignore:
Timestamp:
2015-06-21T01:13:09+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: redundant modifiers

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
8 edited

Legend:

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

    r8510 r8512  
    8787    }
    8888
    89     public final Color getColor(double value) {
     89    public Color getColor(double value) {
    9090        if (value < min) return belowMinColor;
    9191        if (value > max) return aboveMaxColor;
     
    100100    }
    101101
    102     public final Color getColor(Number value) {
     102    public Color getColor(Number value) {
    103103        return (value == null) ? noDataColor : getColor(value.doubleValue());
    104104    }
  • trunk/src/org/openstreetmap/josm/tools/Destroyable.java

    r6380 r8512  
    1414     * Called when the object has been destroyed.
    1515     */
    16     public void destroy();
     16    void destroy();
    1717}
  • trunk/src/org/openstreetmap/josm/tools/Diff.java

    r8510 r8512  
    395395            @return a linked list of changes - or null
    396396         */
    397         public Change build_script(
     397        Change build_script(
    398398                boolean[] changed0, int len0,
    399399                boolean[] changed1, int len1
  • trunk/src/org/openstreetmap/josm/tools/MultikeyShortcutAction.java

    r8510 r8512  
    3535    }
    3636
    37     public Shortcut getMultikeyShortcut();
     37    Shortcut getMultikeyShortcut();
    3838
    3939    void executeMultikeyAction(int index, boolean repeatLastAction);
  • trunk/src/org/openstreetmap/josm/tools/PlatformHook.java

    r8015 r8512  
    2323      * that we want to be integrated with the OS before we setup our GUI.
    2424      */
    25     public void preStartupHook();
    26    
     25    void preStartupHook();
     26
    2727    /**
    2828      * The afterPrefStartupHook will be called early, but after
    2929      * the preferences have been loaded and basic processing of
    30       * command line arguments is finished. 
     30      * command line arguments is finished.
    3131      * It is guaranteed to be called before the GUI setup has started.
    3232      */
    33     public void afterPrefStartupHook();
     33    void afterPrefStartupHook();
    3434
    3535    /**
     
    4040      * OS, so we'll receive events from the system menu.
    4141      */
    42     public void startupHook();
     42    void startupHook();
    4343
    4444    /**
     
    4848     * @throws IOException if any I/O error occurs
    4949      */
    50     public void openUrl(String url) throws IOException;
     50    void openUrl(String url) throws IOException;
    5151
    5252    /**
     
    7070      * user to change them.
    7171      */
    72     public void initSystemShortcuts();
     72    void initSystemShortcuts();
    7373
    7474    /**
     
    8686     * @return Full tooltip text (name + accelerator)
    8787      */
    88     public String makeTooltip(String name, Shortcut sc);
     88    String makeTooltip(String name, Shortcut sc);
    8989
    9090    /**
     
    9292     * @return The default native LAF for this platform
    9393     */
    94     public String getDefaultStyle();
     94    String getDefaultStyle();
    9595
    9696    /**
     
    9898     * @return {@code true} if full screen is allowed, {@code false} otherwise
    9999     */
    100     public boolean canFullscreen();
     100    boolean canFullscreen();
    101101
    102102    /**
     
    106106     * @return {@code true} if the file has been renamed, {@code false} otherwise
    107107     */
    108     public boolean rename(File from, File to);
     108    boolean rename(File from, File to);
    109109
    110110    /**
     
    113113     * @since 5850
    114114     */
    115     public String getOSDescription();
     115    String getOSDescription();
    116116
    117117    /**
     
    126126     * @since 7343
    127127     */
    128     public boolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert)
     128    boolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert)
    129129            throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException;
    130130
     
    134134     * @since 7829
    135135     */
    136     public File getDefaultCacheDirectory();
     136    File getDefaultCacheDirectory();
    137137
    138138    /**
     
    141141     * @since 7831
    142142     */
    143     public File getDefaultPrefDirectory();
     143    File getDefaultPrefDirectory();
    144144
    145145    /**
     
    148148     * @since 7834
    149149     */
    150     public File getDefaultUserDataDirectory();
     150    File getDefaultUserDataDirectory();
    151151}
  • trunk/src/org/openstreetmap/josm/tools/Predicate.java

    r7509 r8512  
    1515     * @return {@code true} if the object passes the test, {@code false} otherwise
    1616     */
    17     public boolean evaluate(T object);
     17    boolean evaluate(T object);
    1818}
  • trunk/src/org/openstreetmap/josm/tools/Property.java

    r7509 r8512  
    1414     * @return the value of the property for the object obj
    1515     */
    16     public P get(O obj);
     16    P get(O obj);
    1717
    1818    /**
     
    2121     * @param value the value the property is set to
    2222     */
    23     public void set(O obj, P value);
     23    void set(O obj, P value);
    2424}
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r8510 r8512  
    648648     * @param <B> class of transformed objects
    649649     */
    650     public static interface Function<A, B> {
     650    public interface Function<A, B> {
    651651
    652652        /**
Note: See TracChangeset for help on using the changeset viewer.