Update NameResolver's getProvider doc to say it should return null instead of
returning IOException since IOExceptions are expensive
------------------------------------------------------------------------------------------------------------------------------------
Key: TRINIDAD-1750
URL: https://issues.apache.org/jira/browse/TRINIDAD-1750
Project: MyFaces Trinidad
Issue Type: Improvement
Components: Skinning
Reporter: Jeanne Waldman
Assignee: Jeanne Waldman
We might call NameResolver getProvider in a loop for each custom NameResolver -
if there are custom NameResolvers.
And if so, then we do not want the method to return IOException if the file
cannot be resolved.
Therefore, change the javadoc to say it should return null if the file name
cannot be resolved.
Also, update the implementations that we have now so that we do not get
NullPointerExceptions if getProvider returns null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.