Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
42cb0eff
Commit
42cb0eff
authored
Oct 02, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
ab8d2862
3ff20b24
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
9 deletions
+20
-9
pom.xml
pom.xml
+1
-0
pom.xml
spring-boot-project/pom.xml
+1
-1
pom.xml
spring-boot-project/spring-boot-dependencies/pom.xml
+1
-0
pom.xml
...t/spring-boot-starters/spring-boot-starter-parent/pom.xml
+1
-0
OrderedHiddenHttpMethodFilter.java
...ot/web/reactive/filter/OrderedHiddenHttpMethodFilter.java
+1
-3
checkstyle.xml
src/checkstyle/checkstyle.xml
+13
-3
import-control.xml
src/checkstyle/import-control.xml
+2
-2
No files found.
pom.xml
View file @
42cb0eff
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
<configLocation>
src/checkstyle/checkstyle.xml
</configLocation>
<configLocation>
src/checkstyle/checkstyle.xml
</configLocation>
<suppressionsLocation>
src/checkstyle/checkstyle-suppressions.xml
</suppressionsLocation>
<suppressionsLocation>
src/checkstyle/checkstyle-suppressions.xml
</suppressionsLocation>
<includeTestSourceDirectory>
true
</includeTestSourceDirectory>
<includeTestSourceDirectory>
true
</includeTestSourceDirectory>
<propertyExpansion>
main.basedir=${main.basedir}
</propertyExpansion>
</configuration>
</configuration>
<goals>
<goals>
<goal>
check
</goal>
<goal>
check
</goal>
...
...
spring-boot-project/pom.xml
View file @
42cb0eff
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<name>
Spring Boot Build
</name>
<name>
Spring Boot Build
</name>
<description>
Spring Boot Build
</description>
<description>
Spring Boot Build
</description>
<properties>
<properties>
<main.basedir>
${basedir}/..
/..
</main.basedir>
<main.basedir>
${basedir}/..
</main.basedir>
</properties>
</properties>
<modules>
<modules>
<module>
spring-boot-dependencies
</module>
<module>
spring-boot-dependencies
</module>
...
...
spring-boot-project/spring-boot-dependencies/pom.xml
View file @
42cb0eff
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
</developer>
</developer>
</developers>
</developers>
<properties>
<properties>
<main.basedir>
${basedir}/../..
</main.basedir>
<!-- Dependency versions -->
<!-- Dependency versions -->
<activemq.version>
5.15.6
</activemq.version>
<activemq.version>
5.15.6
</activemq.version>
<antlr2.version>
2.7.7
</antlr2.version>
<antlr2.version>
2.7.7
</antlr2.version>
...
...
spring-boot-project/spring-boot-starters/spring-boot-starter-parent/pom.xml
View file @
42cb0eff
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<description>
Parent pom providing dependency and plugin management for applications
<description>
Parent pom providing dependency and plugin management for applications
built with Maven
</description>
built with Maven
</description>
<properties>
<properties>
<main.basedir>
${basedir}/../../..
</main.basedir>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
<resource.delimiter>
@
</resource.delimiter>
<!-- delimiter that doesn't clash with Spring ${} placeholders -->
<resource.delimiter>
@
</resource.delimiter>
<!-- delimiter that doesn't clash with Spring ${} placeholders -->
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/filter/OrderedHiddenHttpMethodFilter.java
View file @
42cb0eff
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
package
org
.
springframework
.
boot
.
web
.
reactive
.
filter
;
package
org
.
springframework
.
boot
.
web
.
reactive
.
filter
;
import
org.springframework.boot.web.servlet.FilterRegistrationBean
;
import
org.springframework.core.Ordered
;
import
org.springframework.core.Ordered
;
import
org.springframework.web.filter.reactive.HiddenHttpMethodFilter
;
import
org.springframework.web.filter.reactive.HiddenHttpMethodFilter
;
...
@@ -32,8 +31,7 @@ public class OrderedHiddenHttpMethodFilter extends HiddenHttpMethodFilter
...
@@ -32,8 +31,7 @@ public class OrderedHiddenHttpMethodFilter extends HiddenHttpMethodFilter
/**
/**
* The default order is high to ensure the filter is applied before Spring Security.
* The default order is high to ensure the filter is applied before Spring Security.
*/
*/
public
static
final
int
DEFAULT_ORDER
=
FilterRegistrationBean
.
REQUEST_WRAPPER_FILTER_MAX_ORDER
public
static
final
int
DEFAULT_ORDER
=
-
10000
;
-
10000
;
private
int
order
=
DEFAULT_ORDER
;
private
int
order
=
DEFAULT_ORDER
;
...
...
src/checkstyle/checkstyle.xml
View file @
42cb0eff
...
@@ -3,9 +3,19 @@
...
@@ -3,9 +3,19 @@
<module
name=
"com.puppycrawl.tools.checkstyle.Checker"
>
<module
name=
"com.puppycrawl.tools.checkstyle.Checker"
>
<module
name=
"io.spring.javaformat.checkstyle.SpringChecks"
/>
<module
name=
"io.spring.javaformat.checkstyle.SpringChecks"
/>
<module
name=
"com.puppycrawl.tools.checkstyle.TreeWalker"
>
<module
name=
"com.puppycrawl.tools.checkstyle.TreeWalker"
>
<module
name=
"com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck"
>
<module
<property
name=
"illegalPkgs"
value=
"sun, org.apache.commons.(?!compress|dbcp2|lang|lang3|logging|pool2).*, com.google.common, org.flywaydb.core.internal, reactor.core.support.Assert"
/>
name=
"com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck"
>
<property
name=
"regexp"
value=
"true"
/>
<property
name=
"regexp"
value=
"true"
/>
<property
name=
"illegalPkgs"
value=
"^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|lang|lang3|logging|pool2).*, ^com\.google\.common.*, ^org\.flywaydb\.core\.internal.*"
/>
<property
name=
"illegalClasses"
value=
"^reactor\.core\.support\.Assert"
/>
</module>
<module
name=
"com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck"
>
<property
name=
"file"
value=
"${main.basedir}/src/checkstyle/import-control.xml"
/>
<property
name=
"path"
value=
"^.*[\\/]src[\\/]main[\\/].*$"
/>
</module>
</module>
</module>
</module>
</module>
</module>
src/checkstyle/import-control.xml
View file @
42cb0eff
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
<subpackage
name=
"autoconfigure"
>
<subpackage
name=
"autoconfigure"
>
<subpackage
name=
"web"
>
<subpackage
name=
"web"
>
<allow
pkg=
"org.springframework.boot.web.server"
/>
<allow
pkg=
"org.springframework.boot.web.servlet.server"
/>
<disallow
pkg=
"org.springframework.boot.web"
/>
<disallow
pkg=
"org.springframework.boot.web"
/>
<disallow
pkg=
"org.springframework.web.servlet"
/>
<disallow
pkg=
"org.springframework.web.servlet"
/>
<disallow
pkg=
"org.springframework.web.reactive"
/>
<disallow
pkg=
"org.springframework.web.reactive"
/>
<disallow
pkg=
"javax.servlet"
/>
<disallow
pkg=
"javax.servlet"
/>
<allow
pkg=
"org.springframework.boot.web.server"
/>
<allow
pkg=
"org.springframework.boot.web.servlet.server"
/>
<subpackage
name=
"client"
>
<subpackage
name=
"client"
>
<allow
pkg=
"org.springframework.boot.web.client"
/>
<allow
pkg=
"org.springframework.boot.web.client"
/>
</subpackage>
</subpackage>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment