shuyangzhou/liferay-portal — pull request #410 by tinatian (2013-09-18 08:24:09+00:00)
Title: LPS-40317 Use GroupPermissionUtil.contains(PermissionChecker, Group, String) instead of GroupPermissionUtil.contains(PermissionChecker, long, String)

Hi Shuyang,

According to profile, we are invoking GroupPermissionUtil.contains(PermissionChecker, long, String) many times which can be replaced by simpler GroupPermissionUtil.contains(PermissionChecker, Group, String).

Then I made this change, in this commit, it only includes changes in portal-impl, I will sent another pr for the changes in portal-web.

Thanks.
Tina.