Skip to content

Commit

Permalink
Added accidentally removed notNull checks back
Browse files Browse the repository at this point in the history
  • Loading branch information
arjantijms committed May 7, 2018
1 parent 268f4d8 commit 3cf226d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ public UIComponent createComponent(FacesContext context, Resource componentResou
}

public UIComponent createComponent(FacesContext context, String componentType, String rendererType) {

notNull(CONTEXT, context);
notNull(COMPONENT_TYPE, componentType);

return createComponentApplyAnnotations(context, componentType, rendererType, true);
}

Expand Down

0 comments on commit 3cf226d

Please sign in to comment.