Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
tandraschko committed Apr 19, 2018
1 parent 5fa936a commit f7faeed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/org/primefaces/renderkit/SelectRenderer.java
Expand Up @@ -207,10 +207,7 @@ protected Object coerceToModelType(FacesContext ctx, Object value, Class itemVal
ExpressionFactory ef = ctx.getApplication().getExpressionFactory();
newValue = ef.coerceToType(value, itemValueType);
}
catch (ELException ele) {
newValue = value;
}
catch (IllegalArgumentException iae) {
catch (ELException | IllegalArgumentException ele) {
newValue = value;
}

Expand Down

0 comments on commit f7faeed

Please sign in to comment.