Skip to content

Commit 2c036a9

Browse files
author
熊熊熊子路
committed
fix: added private constructor
1 parent a3f7efa commit 2c036a9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

devkit-utils/src/main/java/com/onixbyte/devkit/utils/BoolUtil.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,9 @@ public static boolean or(BooleanSupplier... valueSuppliers) {
7777
.anyMatch(BooleanSupplier::getAsBoolean);
7878
}
7979

80+
/**
81+
* Private constructor prevent from being initialised.
82+
*/
83+
private BoolUtil() {}
84+
8085
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ springVersion=6.1.3
2626
springBootVersion=3.2.3
2727

2828
buildGroupId=com.onixbyte
29-
buildVersion=1.6.1
29+
buildVersion=1.6.2
3030
projectUrl=https://onixbyte.com/JDevKit
3131
projectGithubUrl=https://github.com/OnixByte/JDevKit
3232
licenseName=The Apache License, Version 2.0

0 commit comments

Comments
 (0)