Skip to content

Commit 42e3599

Browse files
committed
Move @Contract after @Overrides for Consistency
Issue spring-projectsgh-18490
1 parent d855c99 commit 42e3599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)