removed java 5 method call
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user