removed java 5 method call

This commit is contained in:
Scott Andrews
2008-10-29 15:26:51 +00:00
parent 108840248a
commit d153ee0c0c

View File

@@ -84,6 +84,6 @@ public class JsfUtils {
}
public static boolean isPortlet(FacesContext context) {
return context.getExternalContext().getContext().getClass().getName().contains("Portlet");
return context.getExternalContext().getContext().getClass().getName().indexOf("Portlet") != -1;
}
}