File tree Expand file tree Collapse file tree 7 files changed +13
-6
lines changed
spring-boot-starters/spring-boot-starter-parent
spring-boot/src/main/java/org/springframework/boot/web/reactive/filter Expand file tree Collapse file tree 7 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 53
53
<configLocation >src/checkstyle/checkstyle.xml</configLocation >
54
54
<suppressionsLocation >src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation >
55
55
<includeTestSourceDirectory >true</includeTestSourceDirectory >
56
+ <propertyExpansion >main.basedir=${main.basedir} </propertyExpansion >
56
57
</configuration >
57
58
<goals >
58
59
<goal >check</goal >
Original file line number Diff line number Diff line change 12
12
<name >Spring Boot Build</name >
13
13
<description >Spring Boot Build</description >
14
14
<properties >
15
- <main .basedir>${basedir} /../.. </main .basedir>
15
+ <main .basedir>${basedir} /..</main .basedir>
16
16
</properties >
17
17
<modules >
18
18
<module >spring-boot-dependencies</module >
Original file line number Diff line number Diff line change 31
31
</developer >
32
32
</developers >
33
33
<properties >
34
+ <main .basedir>${basedir} /../..</main .basedir>
34
35
<!-- Dependency versions -->
35
36
<activemq .version>5.15.6</activemq .version>
36
37
<antlr2 .version>2.7.7</antlr2 .version>
Original file line number Diff line number Diff line change 14
14
<description >Parent pom providing dependency and plugin management for applications
15
15
built with Maven</description >
16
16
<properties >
17
+ <main .basedir>${basedir} /../../..</main .basedir>
17
18
<java .version>1.8</java .version>
18
19
<resource .delimiter>@</resource .delimiter> <!-- delimiter that doesn't clash with Spring ${} placeholders -->
19
20
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .boot .web .reactive .filter ;
18
18
19
- import org .springframework .boot .web .servlet .FilterRegistrationBean ;
20
19
import org .springframework .core .Ordered ;
21
20
import org .springframework .web .filter .reactive .HiddenHttpMethodFilter ;
22
21
@@ -32,8 +31,7 @@ public class OrderedHiddenHttpMethodFilter extends HiddenHttpMethodFilter
32
31
/**
33
32
* The default order is high to ensure the filter is applied before Spring Security.
34
33
*/
35
- public static final int DEFAULT_ORDER = FilterRegistrationBean .REQUEST_WRAPPER_FILTER_MAX_ORDER
36
- - 10000 ;
34
+ public static final int DEFAULT_ORDER = -10000 ;
37
35
38
36
private int order = DEFAULT_ORDER ;
39
37
Original file line number Diff line number Diff line change 11
11
<property name =" illegalClasses"
12
12
value=" ^reactor\.core\.support\.Assert" />
13
13
</module >
14
+ <module
15
+ name=" com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck" >
16
+ <property name =" file"
17
+ value=" ${main.basedir}/src/checkstyle/import-control.xml" />
18
+ <property name =" path" value =" ^.*[\\/]src[\\/]main[\\/].*$" />
19
+ </module >
14
20
</module >
15
21
</module >
Original file line number Diff line number Diff line change 5
5
6
6
<subpackage name =" autoconfigure" >
7
7
<subpackage name =" web" >
8
+ <allow pkg =" org.springframework.boot.web.server" />
9
+ <allow pkg =" org.springframework.boot.web.servlet.server" />
8
10
<disallow pkg =" org.springframework.boot.web" />
9
11
<disallow pkg =" org.springframework.web.servlet" />
10
12
<disallow pkg =" org.springframework.web.reactive" />
11
13
<disallow pkg =" javax.servlet" />
12
- <allow pkg =" org.springframework.boot.web.server" />
13
- <allow pkg =" org.springframework.boot.web.servlet.server" />
14
14
<subpackage name =" client" >
15
15
<allow pkg =" org.springframework.boot.web.client" />
16
16
</subpackage >
You can’t perform that action at this time.
0 commit comments