Skip to content

Commit e5c9de0

Browse files
committed
Explain random literal number
1 parent 6e55917 commit e5c9de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problem-spring-web-autoconfigure/src/main/java/org/zalando/problem/spring/web/autoconfigure/security/SecurityConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@Configuration
1717
@ConditionalOnClass(WebSecurityConfigurerAdapter.class) //only when spring-security is in classpath
1818
@Import(SecurityProblemSupport.class)
19-
@Order(Ordered.LOWEST_PRECEDENCE - 21)
19+
@Order(Ordered.LOWEST_PRECEDENCE - 21) //subtract random, uncommon number to reduce chances of collision with a user-selected order
2020
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
2121
@Autowired
2222
private SecurityProblemSupport problemSupport;

0 commit comments

Comments
 (0)