mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#643 - NPE on OrmQueryProperties.java:474
This commit is contained in:
@@ -469,7 +469,9 @@ public class OrmQueryProperties implements Serializable {
|
||||
*/
|
||||
public boolean isSameByAutoTune(OrmQueryProperties p2) {
|
||||
if (included == null) {
|
||||
return p2.included == null;
|
||||
return p2 == null || p2.included == null;
|
||||
} else if (p2 == null) {
|
||||
return false;
|
||||
}
|
||||
return included.equals(p2.included);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user