Ignore:
Timestamp:
2017-07-30T00:22:46+02:00 (3 years ago)
Author:
Don-vip
Message:

PMD - VariableNamingConventions

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

Legend:

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

    r10983 r12537  
    9797
    9898    /* Localization keys for file chooser (and color chooser). */
    99     private static final String[] javaInternalMessageKeys = new String[] {
     99    private static final String[] JAVA_INTERNAL_MESSAGE_KEYS = new String[] {
    100100        /* JFileChooser windows laf */
    101101        "FileChooser.detailsViewActionLabelText",
     
    691691        JFileChooser.setDefaultLocale(l);
    692692        JColorChooser.setDefaultLocale(l);
    693         for (String key : javaInternalMessageKeys) {
     693        for (String key : JAVA_INTERNAL_MESSAGE_KEYS) {
    694694            String us = UIManager.getString(key, Locale.US);
    695695            String loc = UIManager.getString(key, l);
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java

    r12279 r12537  
    3131public class PlatformHookOsx implements PlatformHook, InvocationHandler {
    3232
    33     private static final PlatformHookOsx ivhandler = new PlatformHookOsx();
     33    private static final PlatformHookOsx INVOCATION_HANDLER = new PlatformHookOsx();
    3434
    3535    private String oSBuildNumber;
     
    5959            Class<?> preferencesHandler = findHandlerClass("PreferencesHandler");
    6060            Object proxy = Proxy.newProxyInstance(PlatformHookOsx.class.getClassLoader(), new Class<?>[] {
    61                 quitHandler, aboutHandler, openFilesHandler, preferencesHandler}, ivhandler);
     61                quitHandler, aboutHandler, openFilesHandler, preferencesHandler}, INVOCATION_HANDLER);
    6262            Object appli = eawtApplication.getConstructor((Class[]) null).newInstance((Object[]) null);
    6363            if (Utils.getJavaVersion() >= 9) {
Note: See TracChangeset for help on using the changeset viewer.