IDEMPIERE-6030 Potential infinite loop in MLocation.equals (Object) method (#2231)
This commit is contained in:
parent
284b6f97f6
commit
91d757cf81
|
@ -506,7 +506,7 @@ public class MLocation extends X_C_Location implements Comparator<Object>, Immut
|
||||||
return false;
|
return false;
|
||||||
if (cmp.getClass().equals(this.getClass()))
|
if (cmp.getClass().equals(this.getClass()))
|
||||||
return ((PO)cmp).get_ID() == get_ID();
|
return ((PO)cmp).get_ID() == get_ID();
|
||||||
return equals(cmp);
|
return super.equals(cmp);
|
||||||
} // equals
|
} // equals
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue