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 e6a51e3d29
commit e9de3bb85b

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;
}