Skip to content

Commit db75347

Browse files
committed
Merge branch '2.1.x'
2 parents e06325e + 0ef3310 commit db75347

File tree

36 files changed

+45
-39
lines changed

36 files changed

+45
-39
lines changed

ci/images/get-jdk-url.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ case "$1" in
1414
*)
1515
echo $"Unknown java version"
1616
exit 1
17-
esac
17+
esac

ci/scripts/detect-jdk-updates.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ if [[ ${existing_jdk_issues} = "" ]]; then
4343
POST "https://api.github.com/repos/${GITHUB_ORGANIZATION}/${GITHUB_REPO}/issues" > /dev/null || { echo "Failed to create issue" >&2; exit 1; }
4444
else
4545
echo "Issue already exists."
46-
fi
46+
fi

ci/tasks/build-pr-project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ caches:
88
- path: maven
99
- path: gradle
1010
run:
11-
path: git-repo/ci/scripts/build-project.sh
11+
path: git-repo/ci/scripts/build-project.sh

idea/codeStyleConfig.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@
125125
<option name="USE_TAB_CHARACTER" value="true"/>
126126
</indentOptions>
127127
</codeStyleSettings>
128-
</code_scheme>
128+
</code_scheme>

pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@
6060
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
6161
<includeTestSourceDirectory>true</includeTestSourceDirectory>
6262
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
63-
<resourceIncludes>**\/*.*</resourceIncludes>
63+
<sourceDirectories>./</sourceDirectories>
64+
<includes>**/*</includes>
65+
<excludes>.git/**/*,target/**/*</excludes>
6466
</configuration>
6567
<goals>
6668
<goal>check</goal>
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11

2+

spring-boot-project/spring-boot-autoconfigure/src/test/resources/public-key-location

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdlatRjRjogo3WojgGHFHYLugd
33
UWAY9iR3fy4arWNA1KoS8kVw33cJibXr8bvwUAUparCwlvdbH6dvEOfou0/gCFQs
44
HUfQrSDv+MuSUMAe8jzKE4qW+jK+xQU9a03GUnKHkkle+Q0pX/g6jXZ7r1/xAK5D
55
o2kQ+X5xK9cipRgEKwIDAQAB
6-
-----END PUBLIC KEY-----
6+
-----END PUBLIC KEY-----

spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ if $cygwin; then
113113
fi
114114

115115
IFS=" " read -r -a javaOpts <<< "$JAVA_OPTS"
116-
"${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"
116+
"${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

spring-boot-project/spring-boot-dependencies/src/main/xslt/post-process-flattened-pom.xsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
<xsl:template match="/m:project/m:properties/m:revision" />
2929
<xsl:template match="/m:project/m:properties/m:main.basedir" />
3030
<xsl:template match="/m:project/m:distributionManagement" />
31-
</xsl:stylesheet>
31+
</xsl:stylesheet>

spring-boot-project/spring-boot-dependencies/src/main/xslt/single-project.xsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
<xsl:copy-of select="projects/*[1]" />
44
<xsl:copy-of select="*[local-name()='project']" />
55
</xsl:template>
6-
</xsl:stylesheet>
6+
</xsl:stylesheet>

spring-boot-project/spring-boot-starters/spring-boot-starter-rsocket/pom.xml

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
~ Copyright 2012-2019 the original author or authors.
4-
~
5-
~ Licensed under the Apache License, Version 2.0 (the "License");
6-
~ you may not use this file except in compliance with the License.
7-
~ You may obtain a copy of the License at
8-
~
9-
~ https://www.apache.org/licenses/LICENSE-2.0
10-
~
11-
~ Unless required by applicable law or agreed to in writing, software
12-
~ distributed under the License is distributed on an "AS IS" BASIS,
13-
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
~ See the License for the specific language governing permissions and
15-
~ limitations under the License.
16-
-->
17-
182
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
204
<modelVersion>4.0.0</modelVersion>
215
<parent>
226
<groupId>org.springframework.boot</groupId>

spring-boot-project/spring-boot-starters/src/main/assembly/starter-poms-assembly.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
</sources>
2020
</moduleSet>
2121
</moduleSets>
22-
</assembly>
22+
</assembly>

spring-boot-project/spring-boot-test/src/main/kotlin/org/springframework/boot/test/web/client/TestRestTemplateExtensions.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,4 +274,4 @@ inline fun <reified T : Any> TestRestTemplate.exchange(url: URI, method: HttpMet
274274
*/
275275
@Throws(RestClientException::class)
276276
inline fun <reified T : Any> TestRestTemplate.exchange(requestEntity: RequestEntity<*>): ResponseEntity<T> =
277-
exchange(requestEntity, object : ParameterizedTypeReference<T>() {})
277+
exchange(requestEntity, object : ParameterizedTypeReference<T>() {})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/jar-with-kotlin-module/src/main/kotlin/org/test/SampleApplication.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ package org.test;
1919

2020
fun main(args: Array<String>) {
2121

22-
}
22+
}

spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/KotlinConfigurationPropertiesBeanRegistrarTests.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ class KotlinConfigurationPropertiesBeanRegistrarTests {
7272

7373
}
7474

75-
}
75+
}

spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,4 @@ class KotlinConstructorParametersBinderTests {
205205
val stringValue: String = "my data",
206206
val enumValue: ExampleEnum = ExampleEnum.BAR_BAZ)
207207

208-
}
208+
}

spring-boot-samples/spring-boot-sample-oauth2-resource-server/src/main/resources/application.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ spring:
44
resource:
55
jwt:
66
# To run the application, replace this with a valid JWK Set URI
7-
jwk-set-uri: https://example.com/oauth2/default/v1/keys
7+
jwk-set-uri: https://example.com/oauth2/default/v1/keys

spring-boot-samples/spring-boot-sample-reactive-oauth2-client/src/main/resources/application.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ spring:
2222
client-secret: ${YAHOO-CLIENT-SECRET}
2323
provider:
2424
yahoo-oidc:
25-
issuer-uri: https://api.login.yahoo.com
25+
issuer-uri: https://api.login.yahoo.com

spring-boot-samples/spring-boot-sample-reactive-oauth2-resource-server/src/main/resources/application.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ spring:
44
resourceserver:
55
jwt:
66
# To run the application, replace this with a valid JWK Set URI
7-
jwk-set-uri: https://example.com/oauth2/default/v1/keys
7+
jwk-set-uri: https://example.com/oauth2/default/v1/keys

spring-boot-samples/spring-boot-sample-traditional/src/main/webapp/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
<h1>Hello</h1>
44
Hello World!
55
</body>
6-
</html>
6+
</html>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<glassfish-web-app error-url="">
33
<class-loader delegate="false"/>
4-
</glassfish-web-app>
4+
</glassfish-web-app>

src/checkstyle/checkstyle-suppressions.xml

+7-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
44
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
55
<suppressions>
6-
<suppress files="[\\/]target[\\/]" checks=".*" />
7-
<suppress files=".+\.[jar|git|ico|p12]" checks=".*" />
6+
<suppress files="\.DS_Store" checks=".*" />
7+
<suppress files="[\\/]\.flattened-pom\.xml" checks=".*" />
8+
<suppress files="[\\/]transaction-logs[\\/]" checks=".*" />
9+
<suppress files="[\\/]target[\\/]" checks=".*" />
10+
<suppress files="[\\/]build.log" checks=".*" />
11+
<suppress files=".+\.[jar|git|ico|p12|svg|png]" checks=".*" />
12+
<suppress files="eclipse[\\/]spring-boot-project.setup" checks="NoHttp"/>
813
<suppress files="SpringApplicationTests\.java" checks="FinalClass" />
914
<suppress files=".+Configuration\.java" checks="HideUtilityClassConstructor" />
1015
<suppress files=".+Application\.java" checks="HideUtilityClassConstructor" />

src/checkstyle/nohttp-whitelist.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
^http://livereload.com/protocols/official-7$
1+
^http://livereload.com/protocols/official-7.*
2+
^http://exslt.org/common.*

0 commit comments

Comments
 (0)