Skip to content
This repository was archived by the owner on Mar 20, 2021. It is now read-only.

Commit 3cf226d

Browse files
committed
Added accidentally removed notNull checks back
1 parent 268f4d8 commit 3cf226d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

impl/src/main/java/com/sun/faces/application/applicationimpl/InstanceFactory.java

+4
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@ public UIComponent createComponent(FacesContext context, Resource componentResou
312312
}
313313

314314
public UIComponent createComponent(FacesContext context, String componentType, String rendererType) {
315+
316+
notNull(CONTEXT, context);
317+
notNull(COMPONENT_TYPE, componentType);
318+
315319
return createComponentApplyAnnotations(context, componentType, rendererType, true);
316320
}
317321

0 commit comments

Comments
 (0)