mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - remove unused
This commit is contained in:
@@ -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