URL getEntry()

in src/main/java/org/apache/sling/bundleresource/impl/BundleResourceCache.java [132:145]


    URL getEntry(String path) {
        URL url = cache.get(path);
        if (url == null) {
            url = bundle.getEntry(path);

            if (url == null) {
                url = NOT_FOUND_URL;
            }

            cache.put(path, url);
        }

        return (url == NOT_FOUND_URL) ? null : url;
    }