Skip to content

Commit

Permalink
Add cast to avoid Checker Framework crash (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst authored Jun 20, 2023
1 parent 43b33b7 commit 4b48db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jOOQ/src/main/java/org/jooq/Records.java
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public final class Records {
keyMapper,
LinkedHashMap::new,
Collector.<R, Result<V>[], Result<V>>of(
() -> new Result[1],
() -> (Result<V>[]) new Result[1],
(x, r) -> {
V v = valueMapper.apply(r);

Expand Down

0 comments on commit 4b48db2

Please sign in to comment.