You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following simple unit test demonstrates the problem:
ConversionService service = ConversionServiceFactory.createDefaultConversionService();
List<List<String>> list = Collections.singletonList(Collections.singletonList("Foo"));
Assert.assertNotNull(service.convert(list, String.class));
Most probably the problem stems from the changed method in TypeDescriptor
public synchronized TypeDescriptor getElementTypeDescriptor() {
if (this.elementType == null) {
this.elementType = forElementType(resolveElementType());
}
return this.elementType;
}
and the fact that forElementType returns this in this case.
Oliver Becker opened SPR-7289 and commented
The following simple unit test demonstrates the problem:
ConversionService service = ConversionServiceFactory.createDefaultConversionService();
List<List<String>> list = Collections.singletonList(Collections.singletonList("Foo"));
Assert.assertNotNull(service.convert(list, String.class));
Most probably the problem stems from the changed method in TypeDescriptor
public synchronized TypeDescriptor getElementTypeDescriptor() {
if (this.elementType == null) {
this.elementType = forElementType(resolveElementType());
}
return this.elementType;
}
and the fact that forElementType returns this in this case.
Affects: 3.0.3
Issue Links:
Referenced from: commits 27b0403
The text was updated successfully, but these errors were encountered: