Skip to content

Commit

Permalink
Merge pull request javaee#4372 from arjantijms/master
Browse files Browse the repository at this point in the history
Added accidentally removed notNull checks back
  • Loading branch information
javaserverfaces authored May 8, 2018
2 parents 268f4d8 + 3cf226d commit bbac72a
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 bbac72a

Please sign in to comment.