logger-core/src/main/java/net/openhft/chronicle/logger/ChronicleLogLevel.java
private static boolean fastEqualsIgnoreCase(@NotNull String upperCase, @NotNull CharSequence other) {
        int l;
        if ((l = upperCase.length()) != other.length()) {
            return false;
        }

        for (int i = 0; i < l; i++) {
            int uC, oC;
            if ((uC = upperCase.charAt(i)) != (oC = other.charAt(i)) && (uC != oC + CASE_DIFF)) {
                return false;
            }
        }

        return true;
    }
/**
     * Package-private for testing.
     *
     * @param upperCase string of A-Z characters
     * @param other     a {@code CharSequence} to compare
     * @return {@code true} if {@code upperCase} and {@code other} equals ignore case
     */
Package-private for testing.
@param upperCase string of A-Z characters
@param other     a  CharSequence to compare
@return  true if  upperCase and  other equals ignore case
Package - private for testing . @param upperCase string of A - Z characters @param other a CharSequence to compare @return true if upperCase and other equals ignore case
private static boolean fastEqualsIgnoreCase(@NotNull String upperCase, @NotNull CharSequence other) {
        int l;
        if ((l = upperCase.length()) != other.length()) {
            return false;
        }
        for (int i = 0; i < l; i++) {
            int uC, oC;
            if ((uC = upperCase.charAt(i)) != (oC = other.charAt(i)) && (uC != oC + CASE_DIFF)) {
                return false;
            }
        }
        return true;
    }
private static boolean fastEqualsIgnoreCase ( @ NotNull String upperCase , @ NotNull CharSequence other ) { int l ; if ( ( l = upperCase . length ( ) ) != other . length ( ) ) { return false ; } for ( int i = 0 ; i < l ; i ++ ) { int uC , oC ; if ( ( uC = upperCase . charAt ( i ) ) != ( oC = other . charAt ( i ) ) && ( uC != oC + CASE_DIFF ) ) { return false ; } } return true ; }
Package-private for testing.
Package - private for testing .