diff --git a/pom.xml b/pom.xml
index f37c22b0591..a00d7bd35bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,6 +25,7 @@
0.0.9
+ 0.0.1.RELEASE
@@ -43,6 +44,11 @@
spring-javaformat-checkstyle
${spring-javaformat.version}
+
+ io.spring.nohttp
+ nohttp-checkstyle
+ ${nohttp-checkstyle.version}
+
@@ -54,6 +60,7 @@
src/checkstyle/checkstyle-suppressions.xml
true
main.basedir=${main.basedir}
+ **\/*.*
check
diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/resources/actuator-docs-index.html b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/resources/actuator-docs-index.html
index e69de29bb2d..8b137891791 100644
--- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/resources/actuator-docs-index.html
+++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/resources/actuator-docs-index.html
@@ -0,0 +1 @@
+
diff --git a/spring-boot-project/spring-boot-actuator/src/test/resources/actuator-docs-index.html b/spring-boot-project/spring-boot-actuator/src/test/resources/actuator-docs-index.html
index e69de29bb2d..8b137891791 100644
--- a/spring-boot-project/spring-boot-actuator/src/test/resources/actuator-docs-index.html
+++ b/spring-boot-project/spring-boot-actuator/src/test/resources/actuator-docs-index.html
@@ -0,0 +1 @@
+
diff --git a/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V2__update.sql b/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V2__update.sql
index 7a4b0599d65..867c7c24f52 100644
--- a/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V2__update.sql
+++ b/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V2__update.sql
@@ -1 +1 @@
-DROP TABLE IF EXISTS TEST;
\ No newline at end of file
+DROP TABLE IF EXISTS TEST;
diff --git a/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V3__update.sql b/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V3__update.sql
index 7a4b0599d65..867c7c24f52 100644
--- a/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V3__update.sql
+++ b/spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V3__update.sql
@@ -1 +1 @@
-DROP TABLE IF EXISTS TEST;
\ No newline at end of file
+DROP TABLE IF EXISTS TEST;
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java
index 90440d7a6cc..19b74b54cd2 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java
@@ -73,7 +73,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
- String result = engine.process("template", attrs);
+ String result = engine.process("template", attrs).trim();
assertThat(result).isEqualTo("bar");
});
}
@@ -210,7 +210,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
.getBean(ISpringWebFluxTemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
- String result = engine.process("data-dialect", attrs);
+ String result = engine.process("data-dialect", attrs).trim();
assertThat(result).isEqualTo("");
});
}
@@ -221,7 +221,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
ISpringWebFluxTemplateEngine engine = context
.getBean(ISpringWebFluxTemplateEngine.class);
Context attrs = new Context(Locale.UK);
- String result = engine.process("java8time-dialect", attrs);
+ String result = engine.process("java8time-dialect", attrs).trim();
assertThat(result).isEqualTo("2015-11-24");
});
}
@@ -251,7 +251,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
.getBean(ISpringWebFluxTemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
- String result = engine.process("home", attrs);
+ String result = engine.process("home", attrs).trim();
assertThat(result).isEqualTo("bar");
});
}
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java
index 17cae43aa55..66fbfe47219 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java
@@ -95,7 +95,7 @@ public class ThymeleafServletAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
- String result = engine.process("template.html", attrs);
+ String result = engine.process("template.html", attrs).trim();
assertThat(result).isEqualTo("bar");
});
}
@@ -222,7 +222,7 @@ public class ThymeleafServletAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
- String result = engine.process("data-dialect", attrs);
+ String result = engine.process("data-dialect", attrs).trim();
assertThat(result).isEqualTo("");
});
}
@@ -232,7 +232,7 @@ public class ThymeleafServletAutoConfigurationTests {
this.contextRunner.run((context) -> {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK);
- String result = engine.process("java8time-dialect", attrs);
+ String result = engine.process("java8time-dialect", attrs).trim();
assertThat(result).isEqualTo("2015-11-24");
});
}
@@ -262,7 +262,7 @@ public class ThymeleafServletAutoConfigurationTests {
TemplateEngine engine = context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK,
Collections.singletonMap("foo", "bar"));
- String result = engine.process("home", attrs);
+ String result = engine.process("home", attrs).trim();
assertThat(result).isEqualTo("bar");
});
}
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/META-INF/mappings/non-annotated.xml b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/META-INF/mappings/non-annotated.xml
index 97943168397..db6bee33194 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/META-INF/mappings/non-annotated.xml
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/META-INF/mappings/non-annotated.xml
@@ -15,4 +15,4 @@
-
\ No newline at end of file
+
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/city.sql b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/city.sql
index 9e0cd1cd79c..eb08623b4cf 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/city.sql
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/city.sql
@@ -1 +1 @@
-INSERT INTO CITY (ID, NAME, STATE, COUNTRY, MAP) values (2000, 'Washington', 'DC', 'US', 'Google');
\ No newline at end of file
+INSERT INTO CITY (ID, NAME, STATE, COUNTRY, MAP) values (2000, 'Washington', 'DC', 'US', 'Google');
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
index a561a201cb1..2bb925dd6d9 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
@@ -14,4 +14,4 @@ objectClasses: ( 1.3.6.1.4.1.32473.1.2.2
SUP top
AUXILIARY
MAY exampleAttributeName
- X-ORIGIN 'Managing Schema Document' )
\ No newline at end of file
+ X-ORIGIN 'Managing Schema Document' )
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
index 8f4052a5c9e..0d82d79c85d 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
@@ -1 +1 @@
-custom
\ No newline at end of file
+custom
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
index e69de29bb2d..8b137891791 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
@@ -0,0 +1 @@
+
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
index 06b9992513a..cd07d3d3c64 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
@@ -1 +1 @@
-yield "custom"
\ No newline at end of file
+yield "custom"
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
index 8f4052a5c9e..0d82d79c85d 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
@@ -1 +1 @@
-custom
\ No newline at end of file
+custom
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/data.sql b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/data.sql
index 0d31554b97c..487614d4409 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/data.sql
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/data.sql
@@ -1 +1 @@
-INSERT INTO BAR VALUES (1, 'Andy');
\ No newline at end of file
+INSERT INTO BAR VALUES (1, 'Andy');
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/non-annotated-data.sql b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/non-annotated-data.sql
index 481cd974acd..709bc377bcc 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/non-annotated-data.sql
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/non-annotated-data.sql
@@ -1 +1 @@
-INSERT INTO NON_ANNOTATED (ID, VALUE) values (2000, 'Test');
\ No newline at end of file
+INSERT INTO NON_ANNOTATED (ID, VALUE) values (2000, 'Test');
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/ehcache3.xml b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
index 73d27c811d5..575fd7cdbb2 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
@@ -23,4 +23,4 @@
-
\ No newline at end of file
+
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/logback-test.xml b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/logback-test.xml
index ee274734003..b8a41480d7d 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/logback-test.xml
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/logback-test.xml
@@ -1,4 +1,4 @@
-
\ No newline at end of file
+
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
index 18624afa99b..fa22264e235 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
@@ -1 +1 @@
-Hello {{World}}
\ No newline at end of file
+Hello {{World}}
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
index e69de29bb2d..8b137891791 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
@@ -0,0 +1 @@
+
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
index 0e134df2ec3..a13594e5add 100644
--- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
+++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
@@ -6,4 +6,4 @@
A Message
{{message}} at {{time}}