From b0f1d1f785df4b4def929f0f8fd200a90cd54da8 Mon Sep 17 00:00:00 2001 From: "Greg L. Turnquist" Date: Wed, 13 Sep 2023 15:36:20 -0500 Subject: [PATCH 1/2] gh-2929 - Prepare branch --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 565738b5bb..f47f74f95a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.data spring-data-commons - 3.2.0-SNAPSHOT + 3.2.0-gh-2929-SNAPSHOT Spring Data Core Core Spring concepts underpinning every Spring Data module. From a6e1be4bf13c24088bf7ceb56443515d1d442706 Mon Sep 17 00:00:00 2001 From: "Greg L. Turnquist" Date: Wed, 13 Sep 2023 15:36:29 -0500 Subject: [PATCH 2/2] Make Lazy.orElseGet(Supplier) public. See #2929 --- src/main/java/org/springframework/data/util/Lazy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/util/Lazy.java b/src/main/java/org/springframework/data/util/Lazy.java index 779903e7ca..4634fa0640 100644 --- a/src/main/java/org/springframework/data/util/Lazy.java +++ b/src/main/java/org/springframework/data/util/Lazy.java @@ -32,6 +32,7 @@ * @author Mark Paluch * @author Henning Rohlfs * @author Johannes Englmeier + * @author Greg Turnquist * @since 2.0 */ public class Lazy implements Supplier { @@ -179,7 +180,7 @@ public T orElse(@Nullable T value) { * @return */ @Nullable - private T orElseGet(Supplier supplier) { + public T orElseGet(Supplier supplier) { Assert.notNull(supplier, "Default value supplier must not be null");