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 9
9
<parent >
10
10
<groupId >com.fasterxml.jackson</groupId >
11
11
<artifactId >jackson-base</artifactId >
12
- <version >2.17.0-SNAPSHOT</version >
12
+ <version >2.17.0-rc1- SNAPSHOT</version >
13
13
</parent >
14
14
<groupId >com.fasterxml.jackson.dataformat</groupId >
15
15
<artifactId >jackson-dataformat-xml</artifactId >
16
- <version >2.17.0-SNAPSHOT</version >
16
+ <version >2.17.0-rc1- SNAPSHOT</version >
17
17
<name >Jackson-dataformat-XML</name >
18
18
<packaging >jar</packaging >
19
19
<description >Data format extension for Jackson to offer
Original file line number Diff line number Diff line change 10
10
import com .fasterxml .jackson .databind .introspect .JacksonAnnotationIntrospector ;
11
11
12
12
import com .fasterxml .jackson .dataformat .xml .XmlTestBase ;
13
+ import com .fasterxml .jackson .dataformat .xml .annotation .JacksonXmlProperty ;
13
14
14
15
// copied form [jackson-databind]
15
16
public class ImplicitParamsForCreatorTest
@@ -33,7 +34,9 @@ static class XY {
33
34
34
35
// annotation should NOT be needed with 2.6 any more (except for single-arg case)
35
36
//@com.fasterxml.jackson.annotation.JsonCreator
36
- public XY (int x , int y ) {
37
+ public XY (int x ,
38
+ @ JacksonXmlProperty (isAttribute =true )
39
+ int y ) {
37
40
this .x = x ;
38
41
this .y = y ;
39
42
}
You can’t perform that action at this time.
0 commit comments