reta commented on code in PR #1542:
URL: https://github.com/apache/cxf/pull/1542#discussion_r1416564984
##########
rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/JAXBUtilsTest.java:
##########
@@ -45,7 +48,10 @@ public void extendedXmlJavaTypeAdapter() {
}
private void correctValueType(Class<?> clazz) {
- Field field = clazz.getDeclaredFields()[0];
+ Field[] fields = clazz.getDeclaredFields();
Review Comment:
@prathyushreddylpr the `correctValueType(...)` is called with two classes:
CustomerDetailsWithSimpleAdapter & CustomerDetailsWithExtendedAdapter, both
have a single field. Where other fields are coming from?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]