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

PMD - VariableNamingConventions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/PushbackTokenizer.java

    r12409 r12537  
    148148    }
    149149
    150     private static final List<Character> specialChars = Arrays.asList('"', ':', '(', ')', '|', '^', '=', '?', '<', '>');
    151     private static final List<Character> specialCharsQuoted = Arrays.asList('"');
     150    private static final List<Character> SPECIAL_CHARS = Arrays.asList('"', ':', '(', ')', '|', '^', '=', '?', '<', '>');
     151    private static final List<Character> SPECIAL_CHARS_QUOTED = Arrays.asList('"');
    152152
    153153    private String getString(boolean quoted) {
    154         List<Character> sChars = quoted ? specialCharsQuoted : specialChars;
     154        List<Character> sChars = quoted ? SPECIAL_CHARS_QUOTED : SPECIAL_CHARS;
    155155        StringBuilder s = new StringBuilder();
    156156        boolean escape = false;
Note: See TracChangeset for help on using the changeset viewer.