fix Checkstyle violations

This commit is contained in:
Sascha Szott
2024-07-03 13:54:53 +02:00
committed by GitHub
parent c5ad32a9b3
commit aaa74b88c9

View File

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