File tree 2 files changed +6
-5
lines changed
src/main/java/com/fasterxml/jackson/databind
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,6 @@ public SettableBeanProperty[] getFromObjectArguments(DeserializationConfig confi
163
163
* non-null type is returned, deserializer will bind JSON into specified
164
164
* type (using standard deserializer for that type), and pass that to
165
165
* instantiator.
166
- *
167
- * @since 2.7
168
166
*/
169
167
public JavaType getArrayDelegateType (DeserializationConfig config ) { return null ; }
170
168
@@ -407,7 +405,7 @@ public Base(Class<?> type) {
407
405
public Base (JavaType type ) {
408
406
_valueType = type .getRawClass ();
409
407
}
410
-
408
+
411
409
@ Override
412
410
public String getValueTypeDesc () {
413
411
return _valueType .getName ();
Original file line number Diff line number Diff line change 9
9
* Trivial {@link ValueInstantiator} implementation that will simply return constant
10
10
* {@code Object} it is configured with. May be used as-is, or as base class to override
11
11
* simplistic behavior further.
12
- *
13
- * @since 2.9.4
14
12
*/
15
13
public class ConstantValueInstantiator extends ValueInstantiator
16
14
{
@@ -35,4 +33,9 @@ public Class<?> getValueClass() {
35
33
public Object createUsingDefault (DeserializationContext ctxt ) throws IOException {
36
34
return _value ;
37
35
}
36
+
37
+ @ Override
38
+ public String getValueTypeDesc () {
39
+ return _value .getClass ().getName ();
40
+ }
38
41
}
You can’t perform that action at this time.
0 commit comments