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

Commit bbac72a

Browse files
Merge pull request #4372 from arjantijms/master
Added accidentally removed notNull checks back
2 parents 268f4d8 + 3cf226d commit bbac72a

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

Lines changed: 4 additions & 0 deletions
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)