From 2c738d5797640b724c46ea5b479fffba1f8863be Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Wed, 23 Oct 2013 09:53:54 +0200 Subject: [PATCH] [#2792] data(Object, Object) methods do not unset the value if null is passed --- jOOQ/src/main/java/org/jooq/Configuration.java | 3 +-- jOOQ/src/main/java/org/jooq/Context.java | 3 +-- jOOQ/src/main/java/org/jooq/ExecuteContext.java | 3 +-- jOOQ/src/main/java/org/jooq/RecordContext.java | 3 +-- jOOQ/src/main/java/org/jooq/VisitContext.java | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/Configuration.java b/jOOQ/src/main/java/org/jooq/Configuration.java index b1321ee8a6..876765dfbe 100644 --- a/jOOQ/src/main/java/org/jooq/Configuration.java +++ b/jOOQ/src/main/java/org/jooq/Configuration.java @@ -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 null to unset the custom - * data + * @param value The custom data * @return The previously set custom data or null if no data * was previously set for the given key * @see ExecuteListener diff --git a/jOOQ/src/main/java/org/jooq/Context.java b/jOOQ/src/main/java/org/jooq/Context.java index e7459196fc..33634e44e2 100644 --- a/jOOQ/src/main/java/org/jooq/Context.java +++ b/jOOQ/src/main/java/org/jooq/Context.java @@ -104,8 +104,7 @@ public interface Context> { * matches that of a render or bind context. * * @param key A key to identify the custom data - * @param value The custom data or null to unset the custom - * data + * @param value The custom data * @return The previously set custom data or null if no data * was previously set for the given key * @see ExecuteListener diff --git a/jOOQ/src/main/java/org/jooq/ExecuteContext.java b/jOOQ/src/main/java/org/jooq/ExecuteContext.java index 8f1fb5ecea..52655e360d 100644 --- a/jOOQ/src/main/java/org/jooq/ExecuteContext.java +++ b/jOOQ/src/main/java/org/jooq/ExecuteContext.java @@ -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 null to unset the custom - * data + * @param value The custom data * @return The previously set custom data or null if no data * was previously set for the given key * @see ExecuteListener diff --git a/jOOQ/src/main/java/org/jooq/RecordContext.java b/jOOQ/src/main/java/org/jooq/RecordContext.java index 70fb7c3ac2..6df70ee65e 100644 --- a/jOOQ/src/main/java/org/jooq/RecordContext.java +++ b/jOOQ/src/main/java/org/jooq/RecordContext.java @@ -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 null to unset the custom - * data + * @param value The custom data * @return The previously set custom data or null if no data * was previously set for the given key * @see RecordListener diff --git a/jOOQ/src/main/java/org/jooq/VisitContext.java b/jOOQ/src/main/java/org/jooq/VisitContext.java index b70e4b5c1b..9428434c12 100644 --- a/jOOQ/src/main/java/org/jooq/VisitContext.java +++ b/jOOQ/src/main/java/org/jooq/VisitContext.java @@ -82,8 +82,7 @@ public interface VisitContext { * {@link #context()}. * * @param key A key to identify the custom data - * @param value The custom data or null to unset the custom - * data + * @param value The custom data * @return The previously set custom data or null if no data * was previously set for the given key * @see VisitContext