ch-commons-util/src/main/java/com/cloudhopper/commons/util/DigitLookupMap.java [217:232]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static protected void assertValidKey(String key) throws NullPointerException, IllegalArgumentException {
        // null keys are not permitted
        if (key == null) {
            throw new NullPointerException("A null key is not permitted");
        }
        // the address must be at least 1 char long
        if (key.length() <= 0) {
            throw new IllegalArgumentException("Illegal key [" + key + "]: must be a minimum length of 1");
        }
    }

    static protected void assertValidGetKey(String key) throws NullPointerException, IllegalArgumentException {
        assertValidKey(key);
        int len = key.length();
        for (int i = 0; i < len; i++) {
            char c = key.charAt(i);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ch-commons-util/src/main/java/com/cloudhopper/commons/util/StringLookupMap.java [53:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static protected void assertValidKey(String key) throws NullPointerException, IllegalArgumentException {
        // null keys are not permitted
        if (key == null) {
            throw new NullPointerException("A null key is not permitted");
        }
        // the address must be at least 1 char long
        if (key.length() <= 0) {
            throw new IllegalArgumentException("Illegal key [" + key + "]: must be a minimum length of 1");
        }
    }

    static protected void assertValidGetKey(String key) throws NullPointerException, IllegalArgumentException {
        assertValidKey(key);
        int len = key.length();
        for (int i = 0; i < len; i++) {
            char c = key.charAt(i);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



