mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
[DS-707] Style / readability
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5546 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -281,18 +281,24 @@ public class ShibAuthentication implements AuthenticationMethod
|
||||
|
||||
// revert back to original entry when no mapping is provided
|
||||
if (groupLabels == null)
|
||||
{
|
||||
groupLabels = affiliation;
|
||||
}
|
||||
|
||||
String[] labels = groupLabels.split(",");
|
||||
for (int i = 0; i < labels.length; i++)
|
||||
{
|
||||
addGroup(groups, context, labels[i].trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int ids[] = new int[groups.size()];
|
||||
java.util.Iterator it = groups.iterator();
|
||||
for (int i = 0; it.hasNext(); i++)
|
||||
{
|
||||
ids[i] = ((Integer) it.next()).intValue();
|
||||
}
|
||||
|
||||
// store the special group, if already transformed from headers
|
||||
// since subsequent header may not have the values anymore
|
||||
|
Reference in New Issue
Block a user