Changeset 14934 in josm


Ignore:
Timestamp:
2019-03-26T07:46:24+01:00 (5 years ago)
Author:
GerdP
Message:

fix sonarLint issue: method names starting with "Is" instead of "is"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java

    r14933 r14934  
    385385        for (int i = 0; i < s.length(); i++) {
    386386            char c = s.charAt(i);
    387             if ((IsAsciiControlChar(c) && !isNewLineChar(c)) || IsBidiControlChar(c))
     387            if ((isAsciiControlChar(c) && !isNewLineChar(c)) || isBidiControlChar(c))
    388388                return true;
    389389        }
     
    391391    }
    392392
    393     private static boolean IsAsciiControlChar(char c) {
     393    private static boolean isAsciiControlChar(char c) {
    394394        return c < 0x20 || c == 0x7F;
    395395    }
     
    399399    }
    400400
    401     private static boolean IsBidiControlChar(char c) {
     401    private static boolean isBidiControlChar(char c) {
    402402        /* check for range 0x200c to 0x200f (ZWNJ, ZWJ, LRM, RLM) or
    403403                           0x202a to 0x202e (LRE, RLE, PDF, LRO, RLO) */
Note: See TracChangeset for help on using the changeset viewer.