File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/scala/com/fasterxml/jackson/module/scala/deser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ object CreatorTest
46
46
class AlternativeConstructor (val script : String , dummy : Int ) {
47
47
@ JsonCreator
48
48
def this (script : String ) = {
49
- this (script, 0 )
49
+ this (script, - 1 )
50
50
}
51
51
override def equals (o : Any ): Boolean = o match {
52
52
case ac : AlternativeConstructor => script == ac.script
@@ -63,13 +63,13 @@ object CreatorTest
63
63
64
64
case class MultipleConstructors (script : String , dummy : Int ) {
65
65
def this (script : String ) = {
66
- this (script, 0 )
66
+ this (script, - 1 )
67
67
}
68
68
}
69
69
70
70
case class MultipleConstructorsAnn @ JsonCreator ()(script : String , dummy : Int ) {
71
71
def this (script : String ) = {
72
- this (script, 0 )
72
+ this (script, - 1 )
73
73
}
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments