Description
Sviatoslav Hryb opened SPR-17182 and commented
Section Web on Servlet Stack, paragraph 1.10.9. Jackson contains mention of removed property RenderedAttributes as far as I know the methods getRenderedAttributes()
and setRenderedAttributes(Set<String> renderedAttributes)
of class MappingJackson2JsonView
were deprecated, removed and superseded by getModelKeys()
and setModelKeys(java.util.Set<java.lang.String> modelKeys)
respectively.
Also there is incorrect mention of this property in API MappingJackson2JsonView in JavaDoc above method filterModel(java.util.Map<java.lang.String,java.lang.Object> model)
. When we press it we are redirected to the method setModelKeys(java.util.Set<java.lang.String> modelKeys)
Affects: 4.3.18, 5.0.8
Attachments:
- Spring_Api_removed_property_a.png (33.81 kB)
- Spring_Doc_removed_property_a.png (49.62 kB)
Issue Links:
- Remove pre-3.2 deprecated classes and methods [SPR-12578] #17179 Remove pre-3.2 deprecated classes and methods
- Rewrite *1.10.8. PDF, Excel* paragraph in Spring Framework Documentation [SPR-17180] #21716 Rewrite 1.10.8. PDF, Excel paragraph in Spring Framework Documentation
Backported to: 4.3.19