Fix wrong access modifier in MockMvc standalone setup

Issue: SPR-15248
This commit is contained in:
Rossen Stoyanchev 2017-02-23 16:10:47 -05:00
parent 2d7742b214
commit 24dbfc8ace
1 changed files with 2 additions and 2 deletions

View File

@ -197,8 +197,8 @@ public class StandaloneMockMvcBuilder extends AbstractMockMvcBuilder<StandaloneM
/**
* Set a ContentNegotiationManager.
*/
protected StandaloneMockMvcBuilder setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) {
this.contentNegotiationManager = contentNegotiationManager;
public StandaloneMockMvcBuilder setContentNegotiationManager(ContentNegotiationManager manager) {
this.contentNegotiationManager = manager;
return this;
}