DS-3572: Renamed epersonInGroup to isEPersonInGroup

This commit is contained in:
Tom Desair
2017-06-12 15:17:59 +02:00
committed by Pascal-Nicolas Becker
parent 59087eed9b
commit f148fb3de5

View File

@@ -190,7 +190,7 @@ public class GroupServiceImpl extends DSpaceObjectServiceImpl<Group> implements
//If we have an ePerson, check we can find membership in the database
if(ePerson != null) {
//lookup eperson in normal groups and subgroups with 1 query
isMember = epersonInGroup(context, group.getName(), ePerson);
isMember = isEPersonInGroup(context, group.getName(), ePerson);
}
//If we did not find the group membership in the database, check the special groups.
@@ -539,7 +539,7 @@ public class GroupServiceImpl extends DSpaceObjectServiceImpl<Group> implements
protected boolean epersonInGroup(Context context, String groupName, EPerson ePerson)
protected boolean isEPersonInGroup(Context context, String groupName, EPerson ePerson)
throws SQLException
{
return groupDAO.findByNameAndMembership(context, groupName, ePerson) != null;