[#2792] data(Object, Object) methods do not unset the value if null is passed
This commit is contained in:
parent
f479ee2a88
commit
2c738d5797
@ -123,8 +123,7 @@ public interface Configuration extends Serializable {
|
||||
* See {@link ExecuteListener} for more details.
|
||||
*
|
||||
* @param key A key to identify the custom data
|
||||
* @param value The custom data or <code>null</code> to unset the custom
|
||||
* data
|
||||
* @param value The custom data
|
||||
* @return The previously set custom data or <code>null</code> if no data
|
||||
* was previously set for the given key
|
||||
* @see ExecuteListener
|
||||
|
||||
@ -104,8 +104,7 @@ public interface Context<C extends Context<C>> {
|
||||
* matches that of a render or bind context.
|
||||
*
|
||||
* @param key A key to identify the custom data
|
||||
* @param value The custom data or <code>null</code> to unset the custom
|
||||
* data
|
||||
* @param value The custom data
|
||||
* @return The previously set custom data or <code>null</code> if no data
|
||||
* was previously set for the given key
|
||||
* @see ExecuteListener
|
||||
|
||||
@ -102,8 +102,7 @@ public interface ExecuteContext {
|
||||
* matches that of a single query execution.
|
||||
*
|
||||
* @param key A key to identify the custom data
|
||||
* @param value The custom data or <code>null</code> to unset the custom
|
||||
* data
|
||||
* @param value The custom data
|
||||
* @return The previously set custom data or <code>null</code> if no data
|
||||
* was previously set for the given key
|
||||
* @see ExecuteListener
|
||||
|
||||
@ -93,8 +93,7 @@ public interface RecordContext {
|
||||
* that of a single query execution.
|
||||
*
|
||||
* @param key A key to identify the custom data
|
||||
* @param value The custom data or <code>null</code> to unset the custom
|
||||
* data
|
||||
* @param value The custom data
|
||||
* @return The previously set custom data or <code>null</code> if no data
|
||||
* was previously set for the given key
|
||||
* @see RecordListener
|
||||
|
||||
@ -82,8 +82,7 @@ public interface VisitContext {
|
||||
* {@link #context()}.
|
||||
*
|
||||
* @param key A key to identify the custom data
|
||||
* @param value The custom data or <code>null</code> to unset the custom
|
||||
* data
|
||||
* @param value The custom data
|
||||
* @return The previously set custom data or <code>null</code> if no data
|
||||
* was previously set for the given key
|
||||
* @see VisitContext
|
||||
|
||||
Loading…
Reference in New Issue
Block a user