mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - remove unused
This commit is contained in:
1 parent
5bb9e1b188
commit
4ab8ced4a3
1 file changed
-25
@@ -1,25 +0,0 @@
|
||||
package com.avaje.ebeaninternal.server.util;
|
||||
|
||||
/**
|
||||
* Helper for checking the state of the application is correct.
|
||||
*/
|
||||
public class InternalAssert {
|
||||
|
||||
/**
|
||||
* Throws an IllegalStateException if o is null.
|
||||
*/
|
||||
public static void notNull(Object o, String msg){
|
||||
if (o == null){
|
||||
throw new IllegalStateException(msg);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Throws an IllegalStateException if b is not true.
|
||||
*/
|
||||
public static void isTrue(boolean b, String msg){
|
||||
if (!b){
|
||||
throw new IllegalStateException(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user