* commit 'fb51a4301c8dc4d8ba1b6f84b55a76ec88d683dc': Fix null check for BaseObj.equals.
This commit is contained in:
@@ -181,6 +181,10 @@ public class BaseObj {
|
|||||||
if (this == obj)
|
if (this == obj)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (obj == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (getClass() != obj.getClass()) {
|
if (getClass() != obj.getClass()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user