mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Call remove() on ThreadLocal in SpringBootMockMvcBuilderCustomizer
This commit is contained in:
parent
62fb45f75f
commit
de57b5f4a4
@ -253,7 +253,7 @@ public class SpringBootMockMvcBuilderCustomizer implements MockMvcBuilderCustomi
|
||||
}
|
||||
|
||||
void clear() {
|
||||
this.lines.get().clear();
|
||||
this.lines.remove();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user