ch-commons-util/src/main/java/com/cloudhopper/commons/util/DigitLookupMap.java [217:226]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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");
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ch-commons-util/src/main/java/com/cloudhopper/commons/util/StringLookupMap.java [53:62]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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");
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



