Skip to content

Commit e9de3bb

Browse files
committed
Fix wrong access modifier in MockMvc standalone setup
Issue: SPR-15248
1 parent e6a51e3 commit e9de3bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-test/src/main/java/org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ public StandaloneMockMvcBuilder addMappedInterceptors(String[] pathPatterns, Han
197197
/**
198198
* Set a ContentNegotiationManager.
199199
*/
200-
protected StandaloneMockMvcBuilder setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) {
201-
this.contentNegotiationManager = contentNegotiationManager;
200+
public StandaloneMockMvcBuilder setContentNegotiationManager(ContentNegotiationManager manager) {
201+
this.contentNegotiationManager = manager;
202202
return this;
203203
}
204204

0 commit comments

Comments
 (0)