refactor: have a newline between annotations

This commit is contained in:
sbplat 2023-12-30 14:50:59 -05:00
parent 15e0048bfc
commit cf640c7e3f
4 changed files with 6 additions and 4 deletions

View file

@ -70,7 +70,6 @@ spotless {
importOrder('java', 'javax', 'org', 'com', 'net', 'io') importOrder('java', 'javax', 'org', 'com', 'net', 'io')
toggleOffOn() toggleOffOn()
formatAnnotations()
trimTrailingWhitespace() trimTrailingWhitespace()
indentWithSpaces() indentWithSpaces()
endWithNewline() endWithNewline()

View file

@ -35,7 +35,8 @@ public class SecurityConfiguration {
@Autowired @Lazy private UserService userService; @Autowired @Lazy private UserService userService;
@Autowired @Autowired
@Qualifier("loginEnabled") public boolean loginEnabledValue; @Qualifier("loginEnabled")
public boolean loginEnabledValue;
@Autowired private UserAuthenticationFilter userAuthenticationFilter; @Autowired private UserAuthenticationFilter userAuthenticationFilter;

View file

@ -28,7 +28,8 @@ public class UserAuthenticationFilter extends OncePerRequestFilter {
@Autowired @Lazy private UserService userService; @Autowired @Lazy private UserService userService;
@Autowired @Autowired
@Qualifier("loginEnabled") public boolean loginEnabledValue; @Qualifier("loginEnabled")
public boolean loginEnabledValue;
@Override @Override
protected void doFilterInternal( protected void doFilterInternal(

View file

@ -36,7 +36,8 @@ public class UserBasedRateLimitingFilter extends OncePerRequestFilter {
@Autowired private UserDetailsService userDetailsService; @Autowired private UserDetailsService userDetailsService;
@Autowired @Autowired
@Qualifier("rateLimit") public boolean rateLimit; @Qualifier("rateLimit")
public boolean rateLimit;
@Override @Override
protected void doFilterInternal( protected void doFilterInternal(