first commit
This commit is contained in:
13
hrmsEjb/common/Assert.java
Normal file
13
hrmsEjb/common/Assert.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package common;
|
||||
|
||||
public final class Assert {
|
||||
public static void verify(boolean condition) {
|
||||
if (!condition)
|
||||
throw new AssertionFailed();
|
||||
}
|
||||
|
||||
public static void verify(boolean condition, String message) {
|
||||
if (!condition)
|
||||
throw new AssertionFailed(message);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user