mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Simple fixes (#976)
* Should be only the really simple stuff. * Final cleanups.
This commit is contained in:
committed by
Rob Bygrave
parent
8bb884374b
commit
6120a465e1
@@ -230,7 +230,7 @@ public class DefaultExpressionFactory implements SpiExpressionFactory {
|
||||
}
|
||||
|
||||
private EntityBean checkEntityBean(Object bean) {
|
||||
if (bean == null || (!(bean instanceof EntityBean))) {
|
||||
if (!(bean instanceof EntityBean)) {
|
||||
throw new IllegalStateException("Expecting an EntityBean");
|
||||
}
|
||||
return (EntityBean) bean;
|
||||
|
||||
Reference in New Issue
Block a user