Skip to content

Commit 1f41179

Browse files
committed
Polish SpringBootMockMvcBuilderCustomizer
1 parent d095a5e commit 1f41179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/SpringBootMockMvcBuilderCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static DeferredLinesWriter get(ApplicationContext applicationContext) {
253253
}
254254

255255
void clear() {
256-
this.lines.get().clear();
256+
this.lines.remove();
257257
}
258258

259259
}

0 commit comments

Comments
 (0)