Skip to content

Commit

Permalink
Fix #1001
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 5, 2016
1 parent a1a8793 commit d7d13a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project: jackson-databind
2.8.4 (not yet released)

#466: Jackson ignores Type information when raw return type is BigDecimal or BigInteger
#1001: Parameter names module gets confused with delegate creator which is a static method
#1383: Problem with `@JsonCreator` with 1-arg factory-method, implicit param names
#1384: `@JsonDeserialize(keyUsing = ...)` does not work correctly together with
DefaultTyping.NON_FINAL
(reported by Oleg Z)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.fasterxml.jackson.failing;
package com.fasterxml.jackson.databind.creators;

import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.*;
Expand All @@ -21,7 +21,7 @@ private D(String raw1, String raw2) {
}

// not needed strictly speaking, but added for good measure
@JsonCreator(mode=JsonCreator.Mode.DELEGATING)
@JsonCreator
public static D make(String value) {
String[] split = value.split(":");
return new D(split[0], split[1]);
Expand Down

0 comments on commit d7d13a2

Please sign in to comment.