Skip to content

Commit

Permalink
[#5012] [#5014] Use ForkJoinPool.ManagedBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaseder committed Feb 5, 2016
1 parent 94b501a commit 17888d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jOOQ/src/main/java/org/jooq/impl/Utils.java
Expand Up @@ -2967,9 +2967,8 @@ else if (type.hasPrecision() && type.precision() > 0) {



@SuppressWarnings("unchecked")
static <T, S extends Supplier<T>> S blocking(S supplier) {
return (S) new Supplier<T>() {
static <T> Supplier<T> blocking(Supplier<T> supplier) {
return new Supplier<T>() {
volatile T asyncResult;

@Override
Expand Down

0 comments on commit 17888d1

Please sign in to comment.