Skip to content

Commit 4a738e3

Browse files
izeyesnicoll
authored andcommitted
Polish
Closes gh-16094
1 parent d83a614 commit 4a738e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ special classloader, then it is considered a "`production application`". If that
767767
apply to you (i.e. if you run your application from a container), consider excluding
768768
devtools or set the `-Dspring.devtools.restart.enabled=false` system property.
769769

770-
TIP: Flagging the dependency as optional in Maven or using a custom`developmentOnly`
770+
TIP: Flagging the dependency as optional in Maven or using a custom `developmentOnly`
771771
configuration in Gradle (as shown above) is a best practice that prevents devtools from
772772
being transitively applied to other modules that use your project.
773773

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ public void testTotalSizeCapPropertyWithBytesValue() {
471471
testTotalSizeCapProperty(String.valueOf(10 * 1024 * 1024), "10 MB");
472472
}
473473

474-
private void testTotalSizeCapProperty(String sizeValue, String expectFileSize) {
474+
private void testTotalSizeCapProperty(String sizeValue, String expectedFileSize) {
475475
MockEnvironment environment = new MockEnvironment();
476476
environment.setProperty("logging.file.total-size-cap", sizeValue);
477477
LoggingInitializationContext loggingInitializationContext = new LoggingInitializationContext(
@@ -482,7 +482,7 @@ private void testTotalSizeCapProperty(String sizeValue, String expectFileSize) {
482482
this.logger.info("Hello world");
483483
assertThat(getLineWithText(file, "Hello world")).contains("INFO");
484484
assertThat(ReflectionTestUtils.getField(getRollingPolicy(), "totalSizeCap")
485-
.toString()).isEqualTo(expectFileSize);
485+
.toString()).isEqualTo(expectedFileSize);
486486
}
487487

488488
@Test

0 commit comments

Comments
 (0)