Skip to content

Marshaller properties - cast needed [SPR-7292] #11951

@spring-projects-issues

Description

@spring-projects-issues

Michael Isvy opened SPR-7292 and commented

Currently, I need to set a Marshaller's properties as follows:

. 
marshaller.setMarshallerProperties(Collections.singletonMap(Marshaller.JAXB_FORMATTED_OUTPUT, (Object) Boolean.TRUE));

It would be nice if I didn't need to do the cast. In that case, the method should take an argument of type
Map<String, ? extends Object> instead of Map<String, Object>.


Referenced from: commits 5e5a8a0

2 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions