Ignore:
Timestamp:
2015-06-20T14:36:00+02:00 (10 years ago)
Author:
Don-vip
Message:

fix many checkstyle violations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/CustomConfigurator.java

    r8470 r8509  
    180180        if (!opts.isEmpty()) {
    181181            String[] options = opts.split(";");
    182             answer = JOptionPane.showOptionDialog(Main.parent, text, "Question", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, 0);
     182            answer = JOptionPane.showOptionDialog(Main.parent, text, "Question",
     183                    JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, 0);
    183184        } else {
    184             answer = JOptionPane.showOptionDialog(Main.parent, text, "Question", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, 2);
     185            answer = JOptionPane.showOptionDialog(Main.parent, text, "Question",
     186                    JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, 2);
    185187        }
    186188        if (answer==null) return -1; else return answer;
     
    229231     * Export specified preferences keys to configuration file
    230232     * @param filename - name of file
    231      * @param append - will the preferences be appended to existing ones when file is imported later. Elsewhere preferences from file will replace existing keys.
     233     * @param append - will the preferences be appended to existing ones when file is imported later.
     234     * Elsewhere preferences from file will replace existing keys.
    232235     * @param keys - collection of preferences key names to save
    233236     */
     
    10421045     * @throws ScriptException if the evaluation fails
    10431046     */
    1044     public static void loadPrefsToJS(ScriptEngine engine, Preferences tmpPref, String whereToPutInJS, boolean includeDefaults) throws ScriptException {
     1047    public static void loadPrefsToJS(ScriptEngine engine, Preferences tmpPref, String whereToPutInJS, boolean includeDefaults)
     1048            throws ScriptException {
    10451049        Map<String, String> stringMap =  new TreeMap<>();
    10461050        Map<String, List<String>> listMap = new TreeMap<>();
Note: See TracChangeset for help on using the changeset viewer.