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
d306b31c
Commit
d306b31c
authored
Jun 04, 2019
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.1.x'
parents
2b51cf44
ccfbd034
Changes
107
Hide whitespace changes
Inline
Side-by-side
Showing
107 changed files
with
130 additions
and
112 deletions
+130
-112
pom.xml
pom.xml
+7
-0
actuator-docs-index.html
...autoconfigure/src/test/resources/actuator-docs-index.html
+1
-0
actuator-docs-index.html
...boot-actuator/src/test/resources/actuator-docs-index.html
+1
-0
V2__update.sql
...t-actuator/src/test/resources/db/migration/V2__update.sql
+1
-1
V3__update.sql
...t-actuator/src/test/resources/db/migration/V3__update.sql
+1
-1
ThymeleafReactiveAutoConfigurationTests.java
...re/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java
+4
-4
ThymeleafServletAutoConfigurationTests.java
...ure/thymeleaf/ThymeleafServletAutoConfigurationTests.java
+4
-4
non-annotated.xml
...re/src/test/resources/META-INF/mappings/non-annotated.xml
+1
-1
city.sql
...ect/spring-boot-autoconfigure/src/test/resources/city.sql
+1
-1
custom-schema.ldif
...-boot-autoconfigure/src/test/resources/custom-schema.ldif
+1
-1
custom.ftl
...oconfigure/src/test/resources/custom-templates/custom.ftl
+1
-1
custom.html
...configure/src/test/resources/custom-templates/custom.html
+1
-0
custom.tpl
...oconfigure/src/test/resources/custom-templates/custom.tpl
+1
-1
custom.vm
...toconfigure/src/test/resources/custom-templates/custom.vm
+1
-1
data.sql
...ect/spring-boot-autoconfigure/src/test/resources/data.sql
+1
-1
non-annotated-data.sql
...utoconfigure/src/test/resources/db/non-annotated-data.sql
+1
-1
ehcache3.xml
...spring-boot-autoconfigure/src/test/resources/ehcache3.xml
+1
-1
logback-test.xml
...ng-boot-autoconfigure/src/test/resources/logback-test.xml
+1
-1
foo.html
...oconfigure/src/test/resources/mustache-templates/foo.html
+1
-1
foo_de.html
...nfigure/src/test/resources/mustache-templates/foo_de.html
+1
-0
home.html
...configure/src/test/resources/mustache-templates/home.html
+1
-1
layout.html
...nfigure/src/test/resources/mustache-templates/layout.html
+1
-1
partial.html
...figure/src/test/resources/mustache-templates/partial.html
+1
-1
another.sql
...s/org/springframework/boot/autoconfigure/jdbc/another.sql
+1
-1
data.sql
...rces/org/springframework/boot/autoconfigure/jdbc/data.sql
+1
-1
encoding-data.sql
...springframework/boot/autoconfigure/jdbc/encoding-data.sql
+1
-1
schema.sql
...es/org/springframework/boot/autoconfigure/jdbc/schema.sql
+1
-1
404.mustache
...configure/web/reactive/error/templates/error/404.mustache
+1
-1
4xx.mustache
...configure/web/reactive/error/templates/error/4xx.mustache
+1
-1
schema.sql
...t/spring-boot-autoconfigure/src/test/resources/schema.sql
+1
-1
data-dialect.html
...oconfigure/src/test/resources/templates/data-dialect.html
+1
-1
error.mustache
...nfigure/src/test/resources/templates/error/error.mustache
+3
-3
home.ftl
...-boot-autoconfigure/src/test/resources/templates/home.ftl
+1
-1
home.html
...boot-autoconfigure/src/test/resources/templates/home.html
+1
-1
home.vm
...g-boot-autoconfigure/src/test/resources/templates/home.vm
+1
-1
java8time-dialect.html
...igure/src/test/resources/templates/java8time-dialect.html
+1
-1
layout.html
...ot-autoconfigure/src/test/resources/templates/layout.html
+1
-1
message.ftl
...ot-autoconfigure/src/test/resources/templates/message.ftl
+1
-1
message.html
...t-autoconfigure/src/test/resources/templates/message.html
+1
-1
message.vm
...oot-autoconfigure/src/test/resources/templates/message.vm
+1
-1
prefixed.ftl
...onfigure/src/test/resources/templates/prefix/prefixed.ftl
+1
-1
prefixed.tpl
...onfigure/src/test/resources/templates/prefix/prefixed.tpl
+1
-1
prefixed.vm
...configure/src/test/resources/templates/prefix/prefixed.vm
+1
-1
suffixed.freemarker
...onfigure/src/test/resources/templates/suffixed.freemarker
+1
-1
template.html
...-autoconfigure/src/test/resources/templates/template.html
+1
-1
view.html
...boot-autoconfigure/src/test/resources/templates/view.html
+2
-2
index.html
...-autoconfigure/src/test/resources/welcome-page/index.html
+1
-0
service.wsdl
...g-boot-autoconfigure/src/test/resources/wsdl/service.wsdl
+6
-7
types.xsd
...ring-boot-autoconfigure/src/test/resources/wsdl/types.xsd
+1
-1
settings.xml
...oject/spring-boot-cli/src/test/resources/.m2/settings.xml
+1
-1
settings-security.xml
...ources/maven-settings/encrypted/.m2/settings-security.xml
+1
-1
settings.xml
.../test/resources/maven-settings/encrypted/.m2/settings.xml
+1
-1
.file
...ng-boot-cli/src/test/resources/resource-matcher/two/.file
+1
-0
schema-all.sql
...project/spring-boot-cli/src/test/resources/schema-all.sql
+1
-1
home.html
...ct/spring-boot-cli/src/test/resources/templates/home.html
+1
-1
LiveReloadServer.java
...gframework/boot/devtools/livereload/LiveReloadServer.java
+1
-2
config.yml
...boot-docs/src/test/resources/com/example/myapp/config.yml
+1
-1
schema.sql
...g/springframework/boot/test/autoconfigure/jdbc/schema.sql
+1
-1
configuration-metadata-bar.json
...c/test/resources/metadata/configuration-metadata-bar.json
+1
-1
configuration-metadata-deprecated.json
...resources/metadata/configuration-metadata-deprecated.json
+1
-1
configuration-metadata-empty.json
...test/resources/metadata/configuration-metadata-empty.json
+1
-1
configuration-metadata-foo.json
...c/test/resources/metadata/configuration-metadata-foo.json
+1
-1
configuration-metadata-foo2.json
.../test/resources/metadata/configuration-metadata-foo2.json
+1
-1
configuration-metadata-invalid.json
...st/resources/metadata/configuration-metadata-invalid.json
+1
-1
configuration-metadata-map.json
...c/test/resources/metadata/configuration-metadata-map.json
+1
-1
configuration-metadata-root.json
.../test/resources/metadata/configuration-metadata-root.json
+1
-1
BarProperties.snippet
...oot/configurationsample/incremental/BarProperties.snippet
+1
-1
example.script
...pring-boot-loader-tools/src/test/resources/example.script
+1
-1
MANIFEST.MF
...-boot-loader/src/test/resources/root/META-INF/MANIFEST.MF
+1
-0
MustacheViewTests.java
...work/boot/web/reactive/result/view/MustacheViewTests.java
+1
-1
MustacheViewTests.java
...ingframework/boot/web/servlet/view/MustacheViewTests.java
+1
-1
spring.factories
.../spring-boot/src/test/resources/META-INF/spring.factories
+1
-1
activeprofilerepro-without-override.yml
...rc/test/resources/activeprofilerepro-without-override.yml
+1
-1
application-withwebapplicationtype.yml
...src/test/resources/application-withwebapplicationtype.yml
+1
-1
custom-location.yml
...roject/spring-boot/src/test/resources/custom-location.yml
+1
-1
template.html
...ringframework/boot/web/reactive/result/view/template.html
+1
-1
template.html
...s/org/springframework/boot/web/servlet/view/template.html
+1
-1
testnegatedprofiles.yml
...ct/spring-boot/src/test/resources/testnegatedprofiles.yml
+1
-1
testprofileexpression.yml
.../spring-boot/src/test/resources/testprofileexpression.yml
+1
-1
testprofiles.yml
...t-project/spring-boot/src/test/resources/testprofiles.yml
+1
-1
testprofilesdocument.yml
...t/spring-boot/src/test/resources/testprofilesdocument.yml
+1
-1
testsetmultiprofiles.yml
...t/spring-boot/src/test/resources/testsetmultiprofiles.yml
+1
-1
testsetmultiprofileslist.yml
...ring-boot/src/test/resources/testsetmultiprofileslist.yml
+1
-1
testsetmultiprofileswhitespace.yml
...oot/src/test/resources/testsetmultiprofileswhitespace.yml
+1
-1
testsetprofiles.yml
...roject/spring-boot/src/test/resources/testsetprofiles.yml
+1
-1
log4j2.xml
...boot-sample-actuator-log4j2/src/main/resources/log4j2.xml
+1
-1
ehcache3.xml
.../spring-boot-sample-cache/src/main/resources/ehcache3.xml
+1
-1
V1__init.sql
...ample-flyway/src/main/resources/db/migration/V1__init.sql
+1
-1
reset.sql
...ples/spring-boot-sample-jooq/src/main/resources/reset.sql
+1
-1
import.sql
...ples/spring-boot-sample-jpa/src/main/resources/import.sql
+1
-1
application.yml
...g-boot-samples/spring-boot-sample-profile/application.yml
+1
-1
application.yml
...ng-boot-sample-profile/src/main/resources/application.yml
+1
-1
login.html
...b-method-security/src/main/resources/templates/login.html
+1
-1
login.html
...web-secure-custom/src/main/resources/templates/login.html
+1
-1
data.sql
...g-boot-sample-web-secure-jdbc/src/main/resources/data.sql
+1
-1
schema.sql
...boot-sample-web-secure-jdbc/src/main/resources/schema.sql
+1
-1
login.html
...e-web-secure-jdbc/src/main/resources/templates/login.html
+1
-1
schema.sql
...ring-boot-sample-web-secure/src/main/resources/schema.sql
+1
-1
login.html
...sample-web-secure/src/main/resources/templates/login.html
+1
-1
hr.xsd
...le-webservices/src/main/resources/META-INF/schemas/hr.xsd
+1
-1
launch-with-double-link-single-java-opt.sh
...ources/scripts/launch-with-double-link-single-java-opt.sh
+1
-1
launch-with-relative-log-folder.sh
...test/resources/scripts/launch-with-relative-log-folder.sh
+1
-1
log-file-ownership-is-changed-when-created.sh
...ces/scripts/log-file-ownership-is-changed-when-created.sh
+1
-1
log-file-ownership-is-unchanged-when-exists.sh
...es/scripts/log-file-ownership-is-unchanged-when-exists.sh
+1
-1
checkstyle-suppressions.xml
src/checkstyle/checkstyle-suppressions.xml
+2
-0
checkstyle.xml
src/checkstyle/checkstyle.xml
+3
-0
nohttp-whitelist.txt
src/checkstyle/nohttp-whitelist.txt
+1
-0
No files found.
pom.xml
View file @
d306b31c
...
...
@@ -25,6 +25,7 @@
</activation>
<properties>
<spring-javaformat.version>
0.0.9
</spring-javaformat.version>
<nohttp-checkstyle.version>
0.0.1.RELEASE
</nohttp-checkstyle.version>
</properties>
<build>
<plugins>
...
...
@@ -43,6 +44,11 @@
<artifactId>
spring-javaformat-checkstyle
</artifactId>
<version>
${spring-javaformat.version}
</version>
</dependency>
<dependency>
<groupId>
io.spring.nohttp
</groupId>
<artifactId>
nohttp-checkstyle
</artifactId>
<version>
${nohttp-checkstyle.version}
</version>
</dependency>
</dependencies>
<executions>
<execution>
...
...
@@ -54,6 +60,7 @@
<suppressionsLocation>
src/checkstyle/checkstyle-suppressions.xml
</suppressionsLocation>
<includeTestSourceDirectory>
true
</includeTestSourceDirectory>
<propertyExpansion>
main.basedir=${main.basedir}
</propertyExpansion>
<resourceIncludes>
**\/*.*
</resourceIncludes>
</configuration>
<goals>
<goal>
check
</goal>
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/resources/actuator-docs-index.html
View file @
d306b31c
spring-boot-project/spring-boot-actuator/src/test/resources/actuator-docs-index.html
View file @
d306b31c
spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V2__update.sql
View file @
d306b31c
DROP
TABLE
IF
EXISTS
TEST
;
\ No newline at end of file
DROP
TABLE
IF
EXISTS
TEST
;
spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V3__update.sql
View file @
d306b31c
DROP
TABLE
IF
EXISTS
TEST
;
\ No newline at end of file
DROP
TABLE
IF
EXISTS
TEST
;
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java
View file @
d306b31c
...
...
@@ -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
(
"<html>bar</html>"
);
});
}
...
...
@@ -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
(
"<html><body data-foo=\"bar\"></body></html>"
);
});
}
...
...
@@ -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
(
"<html><body>2015-11-24</body></html>"
);
});
}
...
...
@@ -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
(
"<html><body>bar</body></html>"
);
});
}
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java
View file @
d306b31c
...
...
@@ -98,7 +98,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
(
"<html>bar</html>"
);
});
}
...
...
@@ -225,7 +225,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
(
"<html><body data-foo=\"bar\"></body></html>"
);
});
}
...
...
@@ -235,7 +235,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
(
"<html><body>2015-11-24</body></html>"
);
});
}
...
...
@@ -265,7 +265,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
(
"<html><body>bar</body></html>"
);
});
}
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/resources/META-INF/mappings/non-annotated.xml
View file @
d306b31c
...
...
@@ -15,4 +15,4 @@
</basic>
</attributes>
</entity>
</entity-mappings>
\ No newline at end of file
</entity-mappings>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/city.sql
View file @
d306b31c
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'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
View file @
d306b31c
...
...
@@ -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' )
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
View file @
d306b31c
custom
\ No newline at end of file
custom
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
View file @
d306b31c
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
View file @
d306b31c
yield "custom"
\ No newline at end of file
yield "custom"
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
View file @
d306b31c
custom
\ No newline at end of file
custom
spring-boot-project/spring-boot-autoconfigure/src/test/resources/data.sql
View file @
d306b31c
INSERT
INTO
BAR
VALUES
(
1
,
'Andy'
);
\ No newline at end of file
INSERT
INTO
BAR
VALUES
(
1
,
'Andy'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/non-annotated-data.sql
View file @
d306b31c
INSERT
INTO
NON_ANNOTATED
(
ID
,
VALUE
)
values
(
2000
,
'Test'
);
\ No newline at end of file
INSERT
INTO
NON_ANNOTATED
(
ID
,
VALUE
)
values
(
2000
,
'Test'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
View file @
d306b31c
...
...
@@ -23,4 +23,4 @@
</expiry>
</cache>
</config>
\ No newline at end of file
</config>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/logback-test.xml
View file @
d306b31c
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include
resource=
"org/springframework/boot/logging/logback/base.xml"
/>
</configuration>
\ No newline at end of file
</configuration>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
View file @
d306b31c
Hello {{World}}
\ No newline at end of file
Hello {{World}}
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
View file @
d306b31c
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
View file @
d306b31c
...
...
@@ -6,4 +6,4 @@
<h2>
A Message
</h2>
<div>
{{message}} at {{time}}
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/layout.html
View file @
d306b31c
...
...
@@ -12,4 +12,4 @@
</div>
<div
class=
"jumbotron"
>
{{#include}}{{body}}{{/include}}
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/partial.html
View file @
d306b31c
...
...
@@ -12,4 +12,4 @@
</div>
<div
class=
"jumbotron"
>
{{>content}}
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/another.sql
View file @
d306b31c
CREATE
TABLE
SPAM
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/data.sql
View file @
d306b31c
INSERT
INTO
FOO
VALUES
(
1
,
'Andy'
);
\ No newline at end of file
INSERT
INTO
FOO
VALUES
(
1
,
'Andy'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/encoding-data.sql
View file @
d306b31c
INSERT
INTO
BAR
(
id
,
name
)
VALUES
(
1
,
'bar'
);
INSERT
INTO
BAR
(
id
,
name
)
VALUES
(
2
,
'ばー'
);
\ No newline at end of file
INSERT
INTO
BAR
(
id
,
name
)
VALUES
(
2
,
'ばー'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/schema.sql
View file @
d306b31c
CREATE
TABLE
FOO
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/reactive/error/templates/error/404.mustache
View file @
d306b31c
404 page
\ No newline at end of file
404 page
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/reactive/error/templates/error/4xx.mustache
View file @
d306b31c
4xx page
\ No newline at end of file
4xx page
spring-boot-project/spring-boot-autoconfigure/src/test/resources/schema.sql
View file @
d306b31c
CREATE
TABLE
BAR
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/data-dialect.html
View file @
d306b31c
<html><body
data:foo=
"${foo}"
></body></html>
\ No newline at end of file
<html><body
data:foo=
"${foo}"
></body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/error/error.mustache
View file @
d306b31c
<html>
<body>
<ul>
<li>
status:
{{
status
}}
</li>
<li>
message:
{{
message
}}
</li>
<li>
status:
{{
status
}}
</li>
<li>
message:
{{
message
}}
</li>
</ul>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/home.ftl
View file @
d306b31c
home
\ No newline at end of file
home
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/home.html
View file @
d306b31c
<html><body
th:text=
"${foo}"
>
Home
</body></html>
\ No newline at end of file
<html><body
th:text=
"${foo}"
>
Home
</body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/home.vm
View file @
d306b31c
home
\ No newline at end of file
home
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/java8time-dialect.html
View file @
d306b31c
<html><body
th:text=
"${#temporals.create('2015','11','24')}"
></body></html>
\ No newline at end of file
<html><body
th:text=
"${#temporals.create('2015','11','24')}"
></body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/layout.html
View file @
d306b31c
...
...
@@ -11,4 +11,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/message.ftl
View file @
d306b31c
Message: ${greeting}
\ No newline at end of file
Message: ${greeting}
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/message.html
View file @
d306b31c
<html><body>
Message:
<span
th:text=
"${greeting}"
>
Hello
</span></body></html>
\ No newline at end of file
<html><body>
Message:
<span
th:text=
"${greeting}"
>
Hello
</span></body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/message.vm
View file @
d306b31c
Message: ${greeting}
\ No newline at end of file
Message: ${greeting}
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.ftl
View file @
d306b31c
prefixed
\ No newline at end of file
prefixed
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.tpl
View file @
d306b31c
yield "prefixed"
\ No newline at end of file
yield "prefixed"
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.vm
View file @
d306b31c
prefixed
\ No newline at end of file
prefixed
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/suffixed.freemarker
View file @
d306b31c
suffixed
\ No newline at end of file
suffixed
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/template.html
View file @
d306b31c
<html
th:text=
"${foo}"
>
foo
</html>
\ No newline at end of file
<html
th:text=
"${foo}"
>
foo
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/view.html
View file @
d306b31c
<html
xmlns:th=
"https://www.thymeleaf.org"
xmlns:layout=
"http://www.ultraq.net.nz/web/thymeleaf/layout"
layout:decorator=
"layout"
>
<html
xmlns:th=
"https://www.thymeleaf.org"
xmlns:layout=
"http
s
://www.ultraq.net.nz/web/thymeleaf/layout"
layout:decorator=
"layout"
>
<head>
<title
layout:fragment=
"title"
>
Content
</title>
</head>
...
...
@@ -7,4 +7,4 @@
<span
th:text=
"${foo}"
>
foo
</span>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/welcome-page/index.html
View file @
d306b31c
spring-boot-project/spring-boot-autoconfigure/src/test/resources/wsdl/service.wsdl
View file @
d306b31c
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl/"
xmlns:tns=
"http://www.springframework.org/spring-ws/wsdl"
xmlns:wsdlsoap=
"http
://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace=
"http
://www.springframework.org/spring-ws/wsdl"
>
<wsdl:definitions
xmlns:wsdl=
"http
s
://schemas.xmlsoap.org/wsdl/"
xmlns:tns=
"http
s
://www.springframework.org/spring-ws/wsdl"
xmlns:wsdlsoap=
"http
s://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace=
"https
://www.springframework.org/spring-ws/wsdl"
>
<wsdl:types>
<xsd:schema
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
targetNamespace=
"http://www.springframework.org/spring-ws/wsdl"
>
<xsd:schema
xmlns:xsd=
"http
s
://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
targetNamespace=
"http
s
://www.springframework.org/spring-ws/wsdl"
>
<xsd:element
name=
"request"
type=
"xsd:string"
/>
<xsd:element
name=
"response"
type=
"xsd:string"
/>
</xsd:schema>
...
...
@@ -23,7 +23,7 @@
</wsdl:portType>
<wsdl:binding
name=
"binding"
type=
"tns:portType"
>
<wsdlsoap:binding
style=
"document"
transport=
"http://schemas.xmlsoap.org/soap/http/"
/>
transport=
"http
s
://schemas.xmlsoap.org/soap/http/"
/>
<wsdl:operation
name=
"operation"
>
<wsdlsoap:operation
soapAction=
""
/>
<wsdl:input
name=
"request"
>
...
...
@@ -40,4 +40,3 @@
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/wsdl/types.xsd
View file @
d306b31c
<?xml version="1.0" encoding="UTF-8"?>
<schema
xmlns=
"http://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
targetNamespace=
"http://www.springframework.org/spring-ws/wsdl/schemas"
>
targetNamespace=
"http
s
://www.springframework.org/spring-ws/wsdl/schemas"
>
<element
name=
"request"
type=
"string"
/>
<element
name=
"response"
type=
"string"
/>
</schema>
spring-boot-project/spring-boot-cli/src/test/resources/.m2/settings.xml
View file @
d306b31c
...
...
@@ -30,4 +30,4 @@
</proxy>
</proxies>
</settings>
\ No newline at end of file
</settings>
spring-boot-project/spring-boot-cli/src/test/resources/maven-settings/encrypted/.m2/settings-security.xml
View file @
d306b31c
<settingsSecurity>
<master>
{oAyWuFO63U8HHgiplpqtgXih0/pwcRA0d+uA+Z7TBEk=}
</master>
</settingsSecurity>
\ No newline at end of file
</settingsSecurity>
spring-boot-project/spring-boot-cli/src/test/resources/maven-settings/encrypted/.m2/settings.xml
View file @
d306b31c
...
...
@@ -28,4 +28,4 @@
</proxy>
</proxies>
</settings>
\ No newline at end of file
</settings>
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/two/.file
View file @
d306b31c
spring-boot-project/spring-boot-cli/src/test/resources/schema-all.sql
View file @
d306b31c
CREATE
TABLE
FOO
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-cli/src/test/resources/templates/home.html
View file @
d306b31c
...
...
@@ -22,4 +22,4 @@
2012 2:17:16 PM CDT
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/livereload/LiveReloadServer.java
View file @
d306b31c
...
...
@@ -36,11 +36,10 @@ import org.apache.commons.logging.LogFactory;
import
org.springframework.util.Assert
;
/**
* A <a href="http
://livereload.com
">livereload</a> server.
* A <a href="http
s://github.com/livereload
">livereload</a> server.
*
* @author Phillip Webb
* @since 1.3.0
* @see <a href="http://livereload.com">livereload.com</a>
*/
public
class
LiveReloadServer
{
...
...
spring-boot-project/spring-boot-docs/src/test/resources/com/example/myapp/config.yml
View file @
d306b31c
test
:
foo
:
bar
:
value
\ No newline at end of file
bar
:
value
spring-boot-project/spring-boot-test-autoconfigure/src/test/resources/org/springframework/boot/test/autoconfigure/jdbc/schema.sql
View file @
d306b31c
create
table
example
(
id
int
,
name
varchar
);
\ No newline at end of file
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
View file @
d306b31c
...
...
@@ -62,4 +62,4 @@
]
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-deprecated.json
View file @
d306b31c
...
...
@@ -35,4 +35,4 @@
}
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-empty.json
View file @
d306b31c
{
"foo"
:
"bar"
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-foo.json
View file @
d306b31c
...
...
@@ -56,4 +56,4 @@
]
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-foo2.json
View file @
d306b31c
...
...
@@ -20,4 +20,4 @@
"sourceType"
:
"org.acme.Foo2"
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-invalid.json
View file @
d306b31c
...
...
@@ -5,4 +5,4 @@
"sourceType"
:
"org.acme.Invalid"
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-map.json
View file @
d306b31c
...
...
@@ -76,4 +76,4 @@
]
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-root.json
View file @
d306b31c
...
...
@@ -8,4 +8,4 @@
"name"
:
"spring.root2.name"
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/resources/org/springframework/boot/configurationsample/incremental/BarProperties.snippet
View file @
d306b31c
...
...
@@ -6,4 +6,4 @@
public void setExtra(String extra) {
this.extra = extra;
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/test/resources/example.script
View file @
d306b31c
FOO=BAR
\ No newline at end of file
FOO=BAR
spring-boot-project/spring-boot-tools/spring-boot-loader/src/test/resources/root/META-INF/MANIFEST.MF
View file @
d306b31c
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/reactive/result/view/MustacheViewTests.java
View file @
d306b31c
...
...
@@ -62,7 +62,7 @@ public class MustacheViewTests {
view
.
render
(
Collections
.
singletonMap
(
"World"
,
"Spring"
),
MediaType
.
TEXT_HTML
,
this
.
exchange
).
block
(
Duration
.
ofSeconds
(
30
));
assertThat
(
this
.
exchange
.
getResponse
().
getBodyAsString
()
.
block
(
Duration
.
ofSeconds
(
30
))).
isEqualTo
(
"Hello Spring"
);
.
block
(
Duration
.
ofSeconds
(
30
))
.
trim
()
).
isEqualTo
(
"Hello Spring"
);
}
}
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/view/MustacheViewTests.java
View file @
d306b31c
...
...
@@ -64,7 +64,7 @@ public class MustacheViewTests {
view
.
setApplicationContext
(
this
.
context
);
view
.
render
(
Collections
.
singletonMap
(
"World"
,
"Spring"
),
this
.
request
,
this
.
response
);
assertThat
(
this
.
response
.
getContentAsString
()).
isEqualTo
(
"Hello Spring"
);
assertThat
(
this
.
response
.
getContentAsString
()
.
trim
()
).
isEqualTo
(
"Hello Spring"
);
}
}
spring-boot-project/spring-boot/src/test/resources/META-INF/spring.factories
View file @
d306b31c
org.springframework.boot.env.PropertySourceLoader=\
org.springframework.boot.context.config.TestPropertySourceLoader1,\
org.springframework.boot.context.config.TestPropertySourceLoader2
\ No newline at end of file
org.springframework.boot.context.config.TestPropertySourceLoader2
spring-boot-project/spring-boot/src/test/resources/activeprofilerepro-without-override.yml
View file @
d306b31c
...
...
@@ -8,4 +8,4 @@ version: B
---
spring.profiles
:
C
version
:
C
---
\ No newline at end of file
---
spring-boot-project/spring-boot/src/test/resources/application-withwebapplicationtype.yml
View file @
d306b31c
spring.main.web-application-type
:
reactive
\ No newline at end of file
spring.main.web-application-type
:
reactive
spring-boot-project/spring-boot/src/test/resources/custom-location.yml
View file @
d306b31c
foo
:
${fooValue}
\ No newline at end of file
foo
:
${fooValue}
spring-boot-project/spring-boot/src/test/resources/org/springframework/boot/web/reactive/result/view/template.html
View file @
d306b31c
Hello {{World}}
\ No newline at end of file
Hello {{World}}
spring-boot-project/spring-boot/src/test/resources/org/springframework/boot/web/servlet/view/template.html
View file @
d306b31c
Hello {{World}}
\ No newline at end of file
Hello {{World}}
spring-boot-project/spring-boot/src/test/resources/testnegatedprofiles.yml
View file @
d306b31c
...
...
@@ -17,4 +17,4 @@ spring:
profiles
:
"
!other"
my
:
property
:
fromnototherprofile
notother
:
foo
\ No newline at end of file
notother
:
foo
spring-boot-project/spring-boot/src/test/resources/testprofileexpression.yml
View file @
d306b31c
...
...
@@ -11,4 +11,4 @@ spring:
profiles
:
(dev | other) & another
my
:
property
:
devorotherandanother
---
\ No newline at end of file
---
spring-boot-project/spring-boot/src/test/resources/testprofiles.yml
View file @
d306b31c
...
...
@@ -11,4 +11,4 @@ my:
spring
:
profiles
:
other
my
:
property
:
fromotherprofile
\ No newline at end of file
property
:
fromotherprofile
spring-boot-project/spring-boot/src/test/resources/testprofilesdocument.yml
View file @
d306b31c
...
...
@@ -11,4 +11,4 @@ my:
spring
:
profiles
:
other
my
:
property
:
fromotherprofile
\ No newline at end of file
property
:
fromotherprofile
spring-boot-project/spring-boot/src/test/resources/testsetmultiprofiles.yml
View file @
d306b31c
---
spring
:
profiles
:
active
:
dev,healthcheck
\ No newline at end of file
active
:
dev,healthcheck
spring-boot-project/spring-boot/src/test/resources/testsetmultiprofileslist.yml
View file @
d306b31c
...
...
@@ -3,4 +3,4 @@ spring:
profiles
:
active
:
-
dev
-
healthcheck
\ No newline at end of file
-
healthcheck
spring-boot-project/spring-boot/src/test/resources/testsetmultiprofileswhitespace.yml
View file @
d306b31c
---
spring
:
profiles
:
active
:
dev, healthcheck
\ No newline at end of file
active
:
dev, healthcheck
spring-boot-project/spring-boot/src/test/resources/testsetprofiles.yml
View file @
d306b31c
...
...
@@ -8,4 +8,4 @@ my:
spring
:
profiles
:
dev
my
:
property
:
fromdevprofile
\ No newline at end of file
property
:
fromdevprofile
spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/log4j2.xml
View file @
d306b31c
...
...
@@ -18,4 +18,4 @@
<AppenderRef
ref=
"Console"
/>
</Root>
</Loggers>
</Configuration>
\ No newline at end of file
</Configuration>
spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml
View file @
d306b31c
...
...
@@ -11,4 +11,4 @@
<jsr107:mbeans
enable-statistics=
"true"
/>
</cache>
</config>
\ No newline at end of file
</config>
spring-boot-samples/spring-boot-sample-flyway/src/main/resources/db/migration/V1__init.sql
View file @
d306b31c
...
...
@@ -6,4 +6,4 @@ CREATE TABLE PERSON (
create
sequence
person_sequence
start
with
1
increment
by
1
;
insert
into
PERSON
(
first_name
,
last_name
)
values
(
'Dave'
,
'Syer'
);
\ No newline at end of file
insert
into
PERSON
(
first_name
,
last_name
)
values
(
'Dave'
,
'Syer'
);
spring-boot-samples/spring-boot-sample-jooq/src/main/resources/reset.sql
View file @
d306b31c
DROP
ALL
OBJECTS
;
\ No newline at end of file
DROP
ALL
OBJECTS
;
spring-boot-samples/spring-boot-sample-jpa/src/main/resources/import.sql
View file @
d306b31c
...
...
@@ -14,4 +14,4 @@ insert into note_tags(notes_id, tags_id) values (1, 3)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
2
,
3
)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
3
,
3
)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
4
,
2
)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
4
,
3
)
\ No newline at end of file
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
4
,
3
)
spring-boot-samples/spring-boot-sample-profile/application.yml
View file @
d306b31c
hello
:
Bonjour
\ No newline at end of file
hello
:
Bonjour
spring-boot-samples/spring-boot-sample-profile/src/main/resources/application.yml
View file @
d306b31c
...
...
@@ -4,4 +4,4 @@ name: Phil
spring
:
profiles
:
goodbye,dev
name
:
Everyone
\ No newline at end of file
name
:
Everyone
spring-boot-samples/spring-boot-sample-web-method-security/src/main/resources/templates/login.html
View file @
d306b31c
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-web-secure-custom/src/main/resources/templates/login.html
View file @
d306b31c
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/data.sql
View file @
d306b31c
insert
into
users
(
username
,
password
,
enabled
)
values
(
'user'
,
'{noop}user'
,
true
);
insert
into
authorities
(
username
,
authority
)
values
(
'user'
,
'ROLE_ADMIN'
);
\ No newline at end of file
insert
into
authorities
(
username
,
authority
)
values
(
'user'
,
'ROLE_ADMIN'
);
spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/schema.sql
View file @
d306b31c
...
...
@@ -7,4 +7,4 @@ create table users (
create
table
authorities
(
username
varchar
(
256
),
authority
varchar
(
256
)
);
\ No newline at end of file
);
spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/templates/login.html
View file @
d306b31c
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-web-secure/src/main/resources/schema.sql
View file @
d306b31c
...
...
@@ -7,4 +7,4 @@ create table users (
create
table
authorities
(
username
varchar
(
256
),
authority
varchar
(
256
)
);
\ No newline at end of file
);
spring-boot-samples/spring-boot-sample-web-secure/src/main/resources/templates/login.html
View file @
d306b31c
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-webservices/src/main/resources/META-INF/schemas/hr.xsd
View file @
d306b31c
...
...
@@ -23,4 +23,4 @@
<xs:element
name=
"LastName"
type=
"xs:string"
/>
</xs:sequence>
</xs:complexType>
</xs:schema>
\ No newline at end of file
</xs:schema>
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-double-link-single-java-opt.sh
View file @
d306b31c
...
...
@@ -3,4 +3,4 @@ install_double_link_service
echo
'JAVA_OPTS=-Dserver.port=8081'
>
/test-service/spring-boot-app.conf
start_service
await_app http://127.0.0.1:8081/
curl
-s
http://127.0.0.1:8081/
\ No newline at end of file
curl
-s
http://127.0.0.1:8081/
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-relative-log-folder.sh
View file @
d306b31c
...
...
@@ -5,4 +5,4 @@ echo 'LOG_FOLDER=log' > /test-service/spring-boot-app.conf
mkdir
-p
/test-service/log
start_service
await_app
[[
-s
/test-service/log/spring-boot-app.log
]]
&&
echo
"Log written"
\ No newline at end of file
[[
-s
/test-service/log/spring-boot-app.log
]]
&&
echo
"Log written"
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/log-file-ownership-is-changed-when-created.sh
View file @
d306b31c
...
...
@@ -6,4 +6,4 @@ useradd andy
chown
andy /test-service/spring-boot-app.jar
start_service
await_app
ls
-al
/test-service/log/spring-boot-app.log
\ No newline at end of file
ls
-al
/test-service/log/spring-boot-app.log
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/log-file-ownership-is-unchanged-when-exists.sh
View file @
d306b31c
...
...
@@ -8,4 +8,4 @@ useradd andy
chown
andy /test-service/spring-boot-app.jar
start_service
await_app
ls
-al
/test-service/log/spring-boot-app.log
\ No newline at end of file
ls
-al
/test-service/log/spring-boot-app.log
src/checkstyle/checkstyle-suppressions.xml
View file @
d306b31c
...
...
@@ -3,6 +3,8 @@
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress
files=
"[\\/]target[\\/]"
checks=
".*"
/>
<suppress
files=
".+\.[jar|git|ico|p12]"
checks=
".*"
/>
<suppress
files=
"SpringApplicationTests\.java"
checks=
"FinalClass"
/>
<suppress
files=
".+Configuration\.java"
checks=
"HideUtilityClassConstructor"
/>
<suppress
files=
".+Application\.java"
checks=
"HideUtilityClassConstructor"
/>
...
...
src/checkstyle/checkstyle.xml
View file @
d306b31c
...
...
@@ -3,6 +3,9 @@
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module
name=
"com.puppycrawl.tools.checkstyle.Checker"
>
<module
name=
"io.spring.nohttp.checkstyle.check.NoHttpCheck"
>
<property
name=
"whitelistFileName"
value=
"${main.basedir}/src/checkstyle/nohttp-whitelist.txt"
/>
</module>
<module
name=
"io.spring.javaformat.checkstyle.SpringChecks"
/>
<module
name=
"com.puppycrawl.tools.checkstyle.TreeWalker"
>
<module
...
...
src/checkstyle/nohttp-whitelist.txt
0 → 100644
View file @
d306b31c
^http://livereload.com/protocols/official-7$
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