We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Lazy.orElseGet(Supplier)
1 parent d5cd46c commit 107f268Copy full SHA for 107f268
src/main/java/org/springframework/data/util/Lazy.java
@@ -32,6 +32,7 @@
32
* @author Mark Paluch
33
* @author Henning Rohlfs
34
* @author Johannes Englmeier
35
+ * @author Greg Turnquist
36
* @since 2.0
37
*/
38
public class Lazy<T> implements Supplier<T> {
@@ -179,7 +180,7 @@ public T orElse(@Nullable T value) {
179
180
* @return
181
182
@Nullable
- private T orElseGet(Supplier<? extends T> supplier) {
183
+ public T orElseGet(Supplier<? extends T> supplier) {
184
185
Assert.notNull(supplier, "Default value supplier must not be null");
186
0 commit comments