Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public PropertyName findWrapperName(MapperConfig<?> config, Annotated ann)
return null;
}

@SuppressWarnings("deprecation")
@Override
public PropertyName findRootName(MapperConfig<?> config, AnnotatedClass ac)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public XmlBeanSerializerModifier() { }
*/
@Override
public List<BeanPropertyWriter> changeProperties(SerializationConfig config,
BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties)
BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> beanProperties)
{
final AnnotationIntrospector intr = config.getAnnotationIntrospector();
for (int i = 0, len = beanProperties.size(); i < len; ++i) {
Expand Down Expand Up @@ -73,12 +73,11 @@ public List<BeanPropertyWriter> changeProperties(SerializationConfig config,

@Override
public ValueSerializer<?> modifySerializer(SerializationConfig config,
BeanDescription beanDesc, ValueSerializer<?> serializer)
BeanDescription.Supplier beanDescRefc, ValueSerializer<?> serializer)
{
/* First things first: we can only handle real BeanSerializers; question
* is, what to do if it's not one: throw exception or bail out?
* For now let's do latter.
*/
// First things first: we can only handle real BeanSerializers; question
// is, what to do if it's not one: throw exception or bail out?
// For now let's do latter.
if (!(serializer instanceof BeanSerializerBase)) {
return serializer;
}
Expand Down