Skip to content

Commit 6ca7370

Browse files
committed
Add deprecated overload back (undo removal w/ backport)
1 parent 9795b95 commit 6ca7370

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/fasterxml/jackson/annotation/JacksonInject.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@ public static Value empty() {
104104
return EMPTY;
105105
}
106106

107+
@Deprecated //since 2.20
108+
public static Value construct(Object id, Boolean useInput) {
109+
return construct(id, useInput, null);
110+
}
111+
112+
/**
113+
* @since 2.20
114+
*/
107115
public static Value construct(Object id, Boolean useInput, Boolean optional) {
108116
if ("".equals(id)) {
109117
id = null;

0 commit comments

Comments
 (0)