[
https://issues.apache.org/jira/browse/SLING-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-3457.
-------------------------------------
Resolution: Won't Fix
> Change ResourceUtil.isNonExistingResource(null) to return true instead of NPE.
> ------------------------------------------------------------------------------
>
> Key: SLING-3457
> URL: https://issues.apache.org/jira/browse/SLING-3457
> Project: Sling
> Issue Type: Improvement
> Affects Versions: API 2.6.0
> Reporter: Florentin Wandeler
> Priority: Minor
>
> currently, as specified in its javadocs,
> ResourceUtil.isNonExistingResource(null) throws a NullPointerException.
> -> Changing this to return true for res == null might be more api
> user-friendly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)