From 53d24eab65c09888b42de7a1059ee2d88f95f226 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Thu, 22 Aug 2024 11:48:02 +0800 Subject: [PATCH 1/2] feat: added get result after a boolean calculation in BranchUtil --- .../java/com/onixbyte/devkit/utils/BranchUtil.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/devkit-utils/src/main/java/com/onixbyte/devkit/utils/BranchUtil.java b/devkit-utils/src/main/java/com/onixbyte/devkit/utils/BranchUtil.java index 84a3204..c6ad92e 100644 --- a/devkit-utils/src/main/java/com/onixbyte/devkit/utils/BranchUtil.java +++ b/devkit-utils/src/main/java/com/onixbyte/devkit/utils/BranchUtil.java @@ -68,7 +68,7 @@ * * @param the type of the result to be handled by the methods * @author zihluwang - * @version 1.1.0 + * @version 1.6.1 * @see java.util.function.Supplier * @see java.util.function.BooleanSupplier * @see java.lang.Runnable @@ -225,4 +225,13 @@ public void handle(Runnable ifHandler) { */ private final boolean result; + /** + * Get the boolean result. + * + * @return the result + */ + public boolean getResult() { + return result; + } + } From 51141350f7d1f8d4c0c85ac200dde58b6bd04f1f Mon Sep 17 00:00:00 2001 From: zihluwang Date: Thu, 22 Aug 2024 11:51:02 +0800 Subject: [PATCH 2/2] build: build version 1.6.1 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index c4abfd9..0d329ae 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ springVersion=6.1.3 springBootVersion=3.2.3 buildGroupId=com.onixbyte -buildVersion=1.6.0 +buildVersion=1.6.1 projectUrl=https://onixbyte.com/JDevKit projectGithubUrl=https://github.com/OnixByte/JDevKit licenseName=The Apache License, Version 2.0