Skip to content

Commit 5fba43a

Browse files
committed
Merge branch '1.5.x' into 2.0.x
2 parents eb9ffd5 + e61f7a3 commit 5fba43a

File tree

78 files changed

+90
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+90
-78
lines changed

pom.xml

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
</activation>
2626
<properties>
2727
<spring-javaformat.version>0.0.9</spring-javaformat.version>
28+
<nohttp-checkstyle.version>0.0.1.RELEASE</nohttp-checkstyle.version>
2829
</properties>
2930
<build>
3031
<plugins>
@@ -43,6 +44,11 @@
4344
<artifactId>spring-javaformat-checkstyle</artifactId>
4445
<version>${spring-javaformat.version}</version>
4546
</dependency>
47+
<dependency>
48+
<groupId>io.spring.nohttp</groupId>
49+
<artifactId>nohttp-checkstyle</artifactId>
50+
<version>${nohttp-checkstyle.version}</version>
51+
</dependency>
4652
</dependencies>
4753
<executions>
4854
<execution>
@@ -54,6 +60,7 @@
5460
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
5561
<includeTestSourceDirectory>true</includeTestSourceDirectory>
5662
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
63+
<resourceIncludes>**\/*.*</resourceIncludes>
5764
</configuration>
5865
<goals>
5966
<goal>check</goal>

spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ objectClasses: ( 1.3.6.1.4.1.32473.1.2.2
1414
SUP top
1515
AUXILIARY
1616
MAY exampleAttributeName
17-
X-ORIGIN 'Managing Schema Document' )
17+
X-ORIGIN 'Managing Schema Document' )
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
custom
1+
custom
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yield "custom"
1+
yield "custom"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
custom
1+
custom
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INSERT INTO BAR VALUES (1, 'Andy');
1+
INSERT INTO BAR VALUES (1, 'Andy');

spring-boot-project/spring-boot-autoconfigure/src/test/resources/ehcache3.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
</expiry>
2424
</cache>
2525

26-
</config>
26+
</config>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
33
<include resource="org/springframework/boot/logging/logback/base.xml"/>
4-
</configuration>
4+
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Hello {{World}}
1+
Hello {{World}}

spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
<h2>A Message</h2>
77
<div>{{message}} at {{time}}</div>
88
</body>
9-
</html>
9+
</html>

spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
</div>
1313
<div class="jumbotron">{{#include}}{{body}}{{/include}}</div>
1414
</body>
15-
</html>
15+
</html>

spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/partial.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
</div>
1313
<div class="jumbotron">{{>content}}</div>
1414
</body>
15-
</html>
15+
</html>

spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/hazelcast/hazelcast-specific.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
</join>
1717
</network>
1818

19-
</hazelcast>
19+
</hazelcast>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
CREATE TABLE SPAM (
22
id INTEGER IDENTITY PRIMARY KEY,
33
name VARCHAR(30),
4-
);
4+
);
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INSERT INTO FOO VALUES (1, 'Andy');
1+
INSERT INTO FOO VALUES (1, 'Andy');
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
INSERT INTO BAR(id, name) VALUES (1, 'bar');
2-
INSERT INTO BAR(id, name) VALUES (2, 'ばー');
2+
INSERT INTO BAR(id, name) VALUES (2, 'ばー');
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
CREATE TABLE FOO (
22
id INTEGER IDENTITY PRIMARY KEY,
33
name VARCHAR(30),
4-
);
4+
);
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
CREATE TABLE BAR (
22
id INTEGER IDENTITY PRIMARY KEY,
33
name VARCHAR(30),
4-
);
4+
);
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><body data:foo="${foo}"></body></html>
1+
<html><body data:foo="${foo}"></body></html>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
home
1+
home
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><body th:text="${foo}">Home</body></html>
1+
<html><body th:text="${foo}">Home</body></html>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
home
1+
home
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><body th:text="${#temporals.create('2015','11','24')}"></body></html>
1+
<html><body th:text="${#temporals.create('2015','11','24')}"></body></html>

spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ <h1 layout:fragment="title">Layout</h1>
1111
</div>
1212
</div>
1313
</body>
14-
</html>
14+
</html>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Message: ${greeting}
1+
Message: ${greeting}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><body>Message: <span th:text="${greeting}">Hello</span></body></html>
1+
<html><body>Message: <span th:text="${greeting}">Hello</span></body></html>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Message: ${greeting}
1+
Message: ${greeting}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
prefixed
1+
prefixed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yield "prefixed"
1+
yield "prefixed"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
prefixed
1+
prefixed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
suffixed
1+
suffixed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<html xmlns:th="https://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
1+
<html xmlns:th="https://www.thymeleaf.org" xmlns:layout="https://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
22
<head>
33
<title layout:fragment="title">Content</title>
44
</head>
@@ -7,4 +7,4 @@
77
<span th:text="${foo}">foo</span>
88
</div>
99
</body>
10-
</html>
10+
</html>

spring-boot-project/spring-boot-cli/src/test/resources/.m2/settings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
</proxy>
3131
</proxies>
3232

33-
</settings>
33+
</settings>
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<settingsSecurity>
22
<master>{oAyWuFO63U8HHgiplpqtgXih0/pwcRA0d+uA+Z7TBEk=}</master>
3-
</settingsSecurity>
3+
</settingsSecurity>

spring-boot-project/spring-boot-cli/src/test/resources/maven-settings/encrypted/.m2/settings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
</proxy>
2929
</proxies>
3030

31-
</settings>
31+
</settings>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
CREATE TABLE FOO (
22
id INTEGER IDENTITY PRIMARY KEY,
33
name VARCHAR(30),
4-
);
4+
);

spring-boot-project/spring-boot-cli/src/test/resources/templates/home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ <h1 th:text="${title}">Title</h1>
2222
2012 2:17:16 PM CDT</div>
2323
</div>
2424
</body>
25-
</html>
25+
</html>

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/livereload/LiveReloadServer.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@
3636
import org.springframework.util.Assert;
3737

3838
/**
39-
* A <a href="http://livereload.com">livereload</a> server.
39+
* A <a href="https://github.com/livereload">livereload</a> server.
4040
*
4141
* @author Phillip Webb
4242
* @since 1.3.0
43-
* @see <a href="http://livereload.com">livereload.com</a>
4443
*/
4544
public class LiveReloadServer {
4645

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
test:
22
foo:
3-
bar: value
3+
bar: value
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
create table example (id int, name varchar);
1+
create table example (id int, name varchar);

spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-bar.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
]
6363
}
6464
]
65-
}
65+
}

spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-deprecated.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@
3535
}
3636
}
3737
]
38-
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"foo": "bar"
3-
}
3+
}

spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-foo.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
]
5757
}
5858
]
59-
}
59+
}

spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-foo2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
"sourceType": "org.acme.Foo2"
2121
}
2222
]
23-
}
23+
}

spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-invalid.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"sourceType": "org.acme.Invalid"
66
}
77
]
8-
}
8+
}

spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-map.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@
7676
]
7777
}
7878
]
79-
}
79+
}

spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-root.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
"name": "spring.root2.name"
99
}
1010
]
11-
}
11+
}

spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/resources/org/springframework/boot/configurationsample/incremental/BarProperties.snippet

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
public void setExtra(String extra) {
88
this.extra = extra;
9-
}
9+
}

spring-boot-project/spring-boot/src/test/resources/activeprofilerepro-without-override.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ version: B
88
---
99
spring.profiles: C
1010
version: C
11-
---
11+
---
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
foo: ${fooValue}
1+
foo: ${fooValue}

spring-boot-project/spring-boot/src/test/resources/testprofiles.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ my:
1111
spring:
1212
profiles: other
1313
my:
14-
property: fromotherprofile
14+
property: fromotherprofile

spring-boot-project/spring-boot/src/test/resources/testprofilesdocument.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ my:
1111
spring:
1212
profiles: other
1313
my:
14-
property: fromotherprofile
14+
property: fromotherprofile
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
spring:
33
profiles:
4-
active: dev,healthcheck
4+
active: dev,healthcheck

spring-boot-project/spring-boot/src/test/resources/testsetmultiprofileslist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ spring:
33
profiles:
44
active:
55
- dev
6-
- healthcheck
6+
- healthcheck
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
spring:
33
profiles:
4-
active: dev, healthcheck
4+
active: dev, healthcheck

spring-boot-project/spring-boot/src/test/resources/testsetprofiles.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ my:
88
spring:
99
profiles: dev
1010
my:
11-
property: fromdevprofile
11+
property: fromdevprofile

spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/log4j2.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
<AppenderRef ref="Console"/>
1919
</Root>
2020
</Loggers>
21-
</Configuration>
21+
</Configuration>

spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
<jsr107:mbeans enable-statistics="true"/>
1212
</cache>
1313

14-
</config>
14+
</config>

spring-boot-samples/spring-boot-sample-flyway/src/main/resources/db/migration/V1__init.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ CREATE TABLE PERSON (
66

77
create sequence person_sequence start with 1 increment by 1;
88

9-
insert into PERSON (first_name, last_name) values ('Dave', 'Syer');
9+
insert into PERSON (first_name, last_name) values ('Dave', 'Syer');
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DROP ALL OBJECTS;
1+
DROP ALL OBJECTS;

spring-boot-samples/spring-boot-sample-jpa/src/main/resources/import.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ insert into note_tags(notes_id, tags_id) values (1, 3)
1414
insert into note_tags(notes_id, tags_id) values (2, 3)
1515
insert into note_tags(notes_id, tags_id) values (3, 3)
1616
insert into note_tags(notes_id, tags_id) values (4, 2)
17-
insert into note_tags(notes_id, tags_id) values (4, 3)
17+
insert into note_tags(notes_id, tags_id) values (4, 3)

0 commit comments

Comments
 (0)