Skip to content

Commit

Permalink
Do not wrap Supplier in another Supplier
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
Jakubk15 and coderabbitai[bot] authored Jan 10, 2025
1 parent 392e9ea commit 5fd6d66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public LazyFieldBeanCandidate(Supplier<Object> instance, Field field, Bean bean)
}
});
this.field = field;
this.instance = () -> instance;
this.instance = instance;
this.instanceType = field.getType();
}

Expand Down

0 comments on commit 5fd6d66

Please sign in to comment.