/** * Creates a new resource, unless the path matches the current Resource's path (in which case, this resource is * returned). */ private Resource createResource(String path) { if (this.path.equals(path)) return this; return newResource(path); }
/** * Creates a new resource, unless the path matches the current Resource's path (in which case, this resource is * returned). */ private Resource createResource(String path) { if (this.path.equals(path)) return this; return newResource(path); }