if (Debug.debugging("symbology.detail")) { Debug.output("Checking " + queryCode + " against |" + code + "| starting at " + startIndex + " for " + length); } return queryCode.regionMatches(true, startIndex, code, 0, length);
return true;
    public boolean codeMatches(String queryCode) {        int startIndex = codePosition.startIndex;        int length = code.indexOf('-');        if (length == -1) {            length = code.length();        }        if (Debug.debugging("symbology.detail")) {            Debug.output("Checking " + queryCode + " against |" + code                    + "| starting at " + startIndex + " for " + length);        }        return queryCode.regionMatches(true, startIndex, code, 0, length);    }