[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:
Graham Triggs
2010-10-21 16:46:54 +00:00
parent 53084f0384
commit 1ea64c3b31
31 changed files with 80 additions and 70 deletions

View File

@@ -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);
}