protected String checkKey()

in src/main/java/org/apache/sling/jcr/resource/internal/JcrValueMap.java [76:84]


    protected String checkKey(final String key) {
        if (key == null) {
            throw new NullPointerException("Key must not be null.");
        }
        if (key.startsWith("./")) {
            return key.substring(2);
        }
        return key;
    }