mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 02:24:18 +00:00
fix Checkstyle violations
This commit is contained in:
@@ -184,7 +184,7 @@ public class LDAPAuthentication implements AuthenticationMethod {
|
|||||||
* @param context
|
* @param context
|
||||||
* DSpace context, will be modified (ePerson set) upon success.
|
* DSpace context, will be modified (ePerson set) upon success.
|
||||||
*
|
*
|
||||||
* @param username
|
* @param netid
|
||||||
* Username (or email address) when method is explicit. Use null for
|
* Username (or email address) when method is explicit. Use null for
|
||||||
* implicit method.
|
* implicit method.
|
||||||
*
|
*
|
||||||
@@ -380,7 +380,9 @@ public class LDAPAuthentication implements AuthenticationMethod {
|
|||||||
/**
|
/**
|
||||||
* Update eperson's attributes
|
* Update eperson's attributes
|
||||||
*/
|
*/
|
||||||
private void setEpersonAttributes(Context context, EPerson eperson, SpeakerToLDAP ldap, Optional<String> netid) throws SQLException {
|
private void setEpersonAttributes(Context context, EPerson eperson, SpeakerToLDAP ldap, Optional<String> netid)
|
||||||
|
throws SQLException {
|
||||||
|
|
||||||
if (StringUtils.isNotEmpty(ldap.ldapEmail)) {
|
if (StringUtils.isNotEmpty(ldap.ldapEmail)) {
|
||||||
eperson.setEmail(ldap.ldapEmail);
|
eperson.setEmail(ldap.ldapEmail);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user