Prefer a different fork to stick in it, per Ray.

This commit is contained in:
Michael Bayne
2010-12-08 18:28:41 +00:00
parent f6a2ad1000
commit ad9f068355
@@ -453,14 +453,14 @@ public class QueryBuilder<T extends PersistentRecord>
protected void requireNotNull (Object value, String message)
{
if (value == null) {
throw new AssertionError(message);
throw new IllegalStateException(message);
}
}
protected void requireNull (Object value, String message)
{
if (value != null) {
throw new AssertionError(message);
throw new IllegalStateException(message);
}
}