Skip to content

Commit

Permalink
Merge pull request #51 from jenetics/issues/FACILE-47-wrong_null_check
Browse files Browse the repository at this point in the history
#47: Remove 'null' check.
  • Loading branch information
jenetics authored Nov 15, 2023
2 parents 43d08c1 + e783cc5 commit c4b8305
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion facilejdbc/src/main/java/io/jenetics/facilejdbc/Param.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public sealed interface Param permits SingleParam, MultiParam {
* {@code null}
*/
static SingleParam value(final String name, final Object value) {
requireNonNull(value);
return SingleParam.of(
name,
(idx, stmt) -> stmt.setObject(idx, map(value))
Expand Down

0 comments on commit c4b8305

Please sign in to comment.