Skip to content

Commit d92976e

Browse files
committed
Merge pull request #46517 from ngocnhan-tran1996
* pr/46517: Fix typos Closes gh-46517
2 parents 743e715 + 54d3a1b commit d92976e

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/json/JsonWriterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ void usingMembersWithoutNameInMember() {
436436
}
437437

438438
@Test
439-
void usingMemebersWithoutNameAtAll() {
439+
void usingMembersWithoutNameAtAll() {
440440
Couple couple = new Couple(PERSON, new Person("Spring", "Framework", 20));
441441
JsonWriter<Couple> writer = JsonWriter.of((members) -> members.from(Couple::person2)
442442
.usingMembers((personMembers) -> personMembers.from(Person::toString)));

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void rootFirstPrintsStackTrace() {
6969
at org.springframework.boot.logging.TestException.createException(TestException.java:NN)
7070
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
7171
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
72-
Suppressed: java.lang.RuntimeException: supressed
72+
Suppressed: java.lang.RuntimeException: suppressed
7373
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
7474
... 1 more
7575
""");
@@ -85,7 +85,7 @@ void withCommonFramesWhenRootLastPrintsAllFrames() {
8585
at org.springframework.boot.logging.TestException.createException(TestException.java:NN)
8686
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
8787
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
88-
Suppressed: java.lang.RuntimeException: supressed
88+
Suppressed: java.lang.RuntimeException: suppressed
8989
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
9090
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
9191
Caused by: java.lang.RuntimeException: cause
@@ -115,7 +115,7 @@ void withCommonFramesWhenRootFirstPrintsAllFrames() {
115115
at org.springframework.boot.logging.TestException.createException(TestException.java:NN)
116116
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
117117
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
118-
Suppressed: java.lang.RuntimeException: supressed
118+
Suppressed: java.lang.RuntimeException: suppressed
119119
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
120120
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
121121
""");
@@ -177,7 +177,7 @@ void withMaximumThrowableDepthFiltersElements() {
177177
Wrapped by: java.lang.RuntimeException: exception
178178
at org.springframework.boot.logging.TestException.actualCreateException(TestException.java:NN)
179179
... 3 filtered
180-
Suppressed: java.lang.RuntimeException: supressed
180+
Suppressed: java.lang.RuntimeException: suppressed
181181
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
182182
... 1 more
183183
""");
@@ -201,7 +201,7 @@ void withMaximumThrowableDepthAndCommonFramesFiltersElements() {
201201
at org.springframework.boot.logging.TestException.actualCreateException(TestException.java:NN)
202202
at org.springframework.boot.logging.TestException.createException(TestException.java:NN)
203203
... 2 filtered
204-
Suppressed: java.lang.RuntimeException: supressed
204+
Suppressed: java.lang.RuntimeException: suppressed
205205
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
206206
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
207207
""");
@@ -253,7 +253,7 @@ void withFrameFilter() {
253253
Wrapped by: java.lang.RuntimeException: exception
254254
... 3 filtered
255255
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
256-
Suppressed: java.lang.RuntimeException: supressed
256+
Suppressed: java.lang.RuntimeException: suppressed
257257
... 1 filtered
258258
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
259259
""");
@@ -284,7 +284,7 @@ void withFormatterFormatsThrowable() {
284284
at org.springframework.boot.logging.TestException.createException(TestException.java:NN)
285285
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
286286
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
287-
Suppressed: RuntimeException: supressed
287+
Suppressed: RuntimeException: suppressed
288288
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
289289
... 1 more
290290
Caused by: RuntimeException: cause
@@ -316,7 +316,7 @@ void withFrameFormatterFormatsFrame() {
316316
at TestException.createException
317317
at TestException.createTestException
318318
at TestException.CreatorThread.run
319-
Suppressed: java.lang.RuntimeException: supressed
319+
Suppressed: java.lang.RuntimeException: suppressed
320320
at TestException.createTestException
321321
... 1 more
322322
Caused by: java.lang.RuntimeException: cause
@@ -340,7 +340,7 @@ void withHashesFunctionPrintsStackTraceWithHashes() {
340340
at org.springframework.boot.logging.TestException.createException(TestException.java:59)
341341
at org.springframework.boot.logging.TestException.createTestException(TestException.java:49)
342342
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:77)
343-
Suppressed: <#834defc3> java.lang.RuntimeException: supressed
343+
Suppressed: <#834defc3> java.lang.RuntimeException: suppressed
344344
at org.springframework.boot.logging.TestException.createTestException(TestException.java:50)
345345
... 1 more
346346
Caused by: <#611639c5> java.lang.RuntimeException: cause
@@ -367,7 +367,7 @@ private String standardStackTrace() {
367367
at org.springframework.boot.logging.TestException.createException(TestException.java:NN)
368368
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
369369
at org.springframework.boot.logging.TestException$CreatorThread.run(TestException.java:NN)
370-
Suppressed: java.lang.RuntimeException: supressed
370+
Suppressed: java.lang.RuntimeException: suppressed
371371
at org.springframework.boot.logging.TestException.createTestException(TestException.java:NN)
372372
... 1 more
373373
Caused by: java.lang.RuntimeException: cause

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private static Exception createTestException() {
4747
Throwable root = new RuntimeException("root");
4848
Throwable cause = createCause(root);
4949
Exception exception = createException(cause);
50-
exception.addSuppressed(new RuntimeException("supressed"));
50+
exception.addSuppressed(new RuntimeException("suppressed"));
5151
return exception;
5252
}
5353

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/netty/NettyReactiveWebServerFactoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ void whenServerIsShuttingDownGracefullyThenNewConnectionsCannotBeMade() {
176176

177177
@Override
178178
@Test
179-
@Disabled("Reactor Netty does not support mutiple ports")
179+
@Disabled("Reactor Netty does not support multiple ports")
180180
protected void startedLogMessageWithMultiplePorts() {
181181
}
182182

0 commit comments

Comments
 (0)