mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 02:24:18 +00:00
[DS-707] Use character instead of string
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5530 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -267,7 +267,7 @@ public class ShibAuthentication implements AuthenticationMethod
|
||||
// strip scope if present and roleHeader_ignoreScope
|
||||
if (roleHeader_ignoreScope)
|
||||
{
|
||||
int index = affiliation.indexOf("@");
|
||||
int index = affiliation.indexOf('@');
|
||||
if (index != -1) affiliation = affiliation.substring(0,index);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user