MappingJackson2JsonView does not refer to "renderedAttributes" anymore

Issue: SPR-17182
This commit is contained in:
Juergen Hoeller
2018-08-14 22:02:31 +02:00
parent 484a2f3f2d
commit 9de85f1336
2 changed files with 3 additions and 3 deletions

View File

@@ -216,7 +216,7 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
* Filter out undesired attributes from the given model.
* The return value can be either another {@link Map} or a single value object.
* <p>The default implementation removes {@link BindingResult} instances and entries
* not included in the {@link #setModelKeys renderedAttributes} property.
* not included in the {@link #setModelKeys modelKeys} property.
* @param model the model, as passed on to {@link #renderMergedOutputModel}
* @return the value to be rendered
*/
@@ -263,7 +263,7 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
}
if (jsonpFunction != null) {
generator.writeRaw("/**/");
generator.writeRaw(jsonpFunction + "(" );
generator.writeRaw(jsonpFunction + "(");
}
}