myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nicolucci (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-4187) ResourceHandler.createResource methods should throw NPE
Date Wed, 10 Jan 2018 18:16:00 GMT
Paul Nicolucci created MYFACES-4187:
---------------------------------------

             Summary: ResourceHandler.createResource methods should throw NPE
                 Key: MYFACES-4187
                 URL: https://issues.apache.org/jira/browse/MYFACES-4187
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-372
    Affects Versions: 2.3.0-beta
            Reporter: Paul Nicolucci
            Assignee: Paul Nicolucci


ResourceHandler.createResource methods should throw NPE.

Looking at the JavaDoc for the ResourceHandler we need to throw an NPE when the resourceName
is null:

https://javaee.github.io/javaee-spec/javadocs/javax/faces/application/ResourceHandler.html#createResource-java.lang.String-



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message