Skip to content

Commit ca2dd4c

Browse files
committed
Move @Contract after @Overrides for Consistency
Issue gh-18490
1 parent b4c1361 commit ca2dd4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/src/main/java/org/springframework/security/config/annotation/authentication/configuration/AuthenticationConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ static class LazyPasswordEncoder implements PasswordEncoder {
302302
this.applicationContext = applicationContext;
303303
}
304304

305-
@Contract("!null -> !null; null -> null")
306305
@Override
306+
@Contract("!null -> !null; null -> null")
307307
public String encode(CharSequence rawPassword) {
308308
return getPasswordEncoder().encode(rawPassword);
309309
}

0 commit comments

Comments
 (0)