File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/main/java/com/fasterxml/jackson/databind/ser Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -915,17 +915,14 @@ protected JsonSerializer<Object> _findAndAddDynamic(
915
915
/**
916
916
* Method that can be used to access value of the property this Object
917
917
* describes, from given bean instance.
918
- * <p>
919
- * Note: method is final as it should not need to be overridden -- rather,
920
- * calling method(s) ({@link #serializeAsField}) should be overridden to
921
- * change the behavior
922
918
*<p>
923
919
* NOTE: was {@code final} until Jackson 2.19
924
920
*/
925
921
public Object get (Object bean ) throws Exception
926
922
{
927
- return (_accessorMethod == null ) ? _field .get (bean ) : _accessorMethod
928
- .invoke (bean , (Object []) null );
923
+ return (_accessorMethod == null )
924
+ ? _field .get (bean )
925
+ : _accessorMethod .invoke (bean , (Object []) null );
929
926
}
930
927
931
928
/**
You can’t perform that action at this time.
0 commit comments