File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/test/java/com/fasterxml/jackson/dataformat/xml/deser/creator Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 99 <parent >
1010 <groupId >com.fasterxml.jackson</groupId >
1111 <artifactId >jackson-base</artifactId >
12- <version >2.17.0-SNAPSHOT</version >
12+ <version >2.17.0-rc1- SNAPSHOT</version >
1313 </parent >
1414 <groupId >com.fasterxml.jackson.dataformat</groupId >
1515 <artifactId >jackson-dataformat-xml</artifactId >
16- <version >2.17.0-SNAPSHOT</version >
16+ <version >2.17.0-rc1- SNAPSHOT</version >
1717 <name >Jackson-dataformat-XML</name >
1818 <packaging >jar</packaging >
1919 <description >Data format extension for Jackson to offer
Original file line number Diff line number Diff line change 1010import com .fasterxml .jackson .databind .introspect .JacksonAnnotationIntrospector ;
1111
1212import com .fasterxml .jackson .dataformat .xml .XmlTestBase ;
13+ import com .fasterxml .jackson .dataformat .xml .annotation .JacksonXmlProperty ;
1314
1415// copied form [jackson-databind]
1516public class ImplicitParamsForCreatorTest
@@ -33,7 +34,9 @@ static class XY {
3334
3435 // annotation should NOT be needed with 2.6 any more (except for single-arg case)
3536 //@com.fasterxml.jackson.annotation.JsonCreator
36- public XY (int x , int y ) {
37+ public XY (int x ,
38+ @ JacksonXmlProperty (isAttribute =true )
39+ int y ) {
3740 this .x = x ;
3841 this .y = y ;
3942 }
You can’t perform that action at this time.
0 commit comments