Skip to content

Commit

Permalink
#358: remove accidentally introduced Java 1.8 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Feb 17, 2017
1 parent 3c2054f commit f0da6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/omnifaces/el/FacesELResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class FacesELResolver extends ELResolver {

static {
for (Method method : Faces.class.getDeclaredMethods()) {
if (method.getParameterCount() > 0 || !isOneInstanceOf(method.getReturnType(), String.class, boolean.class)) {
if (method.getParameterTypes().length > 0 || !isOneInstanceOf(method.getReturnType(), String.class, boolean.class)) {
continue;
}

Expand Down

0 comments on commit f0da6b1

Please sign in to comment.