History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XSTR-489
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Joerg Schaible
Reporter: Patrick Dumontel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XStream

@XStreamConverter only takes implementations of Converter; should support SingleValueConverters too

Created: 10/Apr/08 01:00 PM   Updated: Thursday 04:46 PM
Component/s: Annotations
Affects Version/s: 1.3
Fix Version/s: 1.x Maintenance

JDK version and platform: any


 Description  « Hide
@XStreamConverter does not recognize SingleValueConverter implementations.

The annotation code looks for Class<? extends Converter> classes, but it should use Class<? extends ConverterMatcher> so that both Converter and SingleValueConverter implementations can be used.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Dumontel - 10/Apr/08 04:07 PM
Also, AnnotationMapper.processConverterAnnotations should be changed to ConverterMatcher.

Joerg Schaible - 02/Oct/08 04:46 PM
@XStreamConverter supports now also SingleValueConverter implementations in the head revision.