diff --git a/haiti-exception/pom.xml b/haiti-exception/pom.xml
index 9215bb2..dbb5744 100644
--- a/haiti-exception/pom.xml
+++ b/haiti-exception/pom.xml
@@ -6,7 +6,7 @@
dev.struchkov.haiti
haiti-dependencies
- 2.0.0
+ 2.1.0
haiti-exception
diff --git a/haiti-external-bom/pom.xml b/haiti-external-bom/pom.xml
index 8e8784f..0ae9389 100644
--- a/haiti-external-bom/pom.xml
+++ b/haiti-external-bom/pom.xml
@@ -6,7 +6,7 @@
dev.struchkov.haiti
haiti-external-bom
- 2.0.0
+ 2.1.0
pom
Haiti External Dependencies
diff --git a/haiti-utils/pom.xml b/haiti-utils/pom.xml
index a809fd0..e6fb25b 100644
--- a/haiti-utils/pom.xml
+++ b/haiti-utils/pom.xml
@@ -6,7 +6,7 @@
dev.struchkov.haiti
haiti-dependencies
- 2.0.0
+ 2.1.0
Haiti Utils
diff --git a/haiti-utils/src/main/java/dev/struchkov/haiti/utils/Checker.java b/haiti-utils/src/main/java/dev/struchkov/haiti/utils/Checker.java
index 8c1eacd..e795c10 100644
--- a/haiti-utils/src/main/java/dev/struchkov/haiti/utils/Checker.java
+++ b/haiti-utils/src/main/java/dev/struchkov/haiti/utils/Checker.java
@@ -87,6 +87,14 @@ public final class Checker {
return EMPTY.equals(s);
}
+ public static boolean checkNotFalse(Boolean b) {
+ return b != null && b;
+ }
+
+ public static boolean checkNotTrue(Boolean b) {
+ return b != null && !b;
+ }
+
public static boolean checkLong(String s) {
try {
Long.parseLong(s);
diff --git a/pom.xml b/pom.xml
index 814da54..f406b75 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
dev.struchkov.haiti
haiti-dependencies
- 2.0.0
+ 2.1.0
pom
Haiti Framework
@@ -35,7 +35,7 @@
UTF-8
UTF-8
- 2.0.0
+ 2.1.0
${haiti.ver}
${haiti.ver}
${haiti.ver}