Skip to content

Commit 14569fe

Browse files
committed
Revert accidental addition of getAbsentValue() override
1 parent 7a29c98 commit 14569fe

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main/java/com/fasterxml/jackson/databind/deser/std/ReferenceTypeDeserializer.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,12 @@ public Object getEmptyValue(DeserializationContext ctxt) throws JsonMappingExcep
126126
return getNullValue(ctxt);
127127
}
128128

129-
@Override
130-
public Object getAbsentValue(DeserializationContext ctxt) throws JsonMappingException {
131-
return null;
132-
}
129+
// 02-Sep-2021, tatu: Related to [databind#3214] we may want to add this... but
130+
// with 2.13.0 so close will not yet do that, but wait for 2.14
131+
// @Override
132+
// public Object getAbsentValue(DeserializationContext ctxt) throws JsonMappingException {
133+
// return null;
134+
// }
133135

134136
public abstract T referenceValue(Object contents);
135137

0 commit comments

Comments
 (0)