IDEMPIERE-6030 Potential infinite loop in MLocation.equals (Object) method (#2231)

This commit is contained in:
hengsin 2024-02-08 02:44:21 +08:00 committed by Carlos Ruiz
parent 284b6f97f6
commit 91d757cf81
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ public class MLocation extends X_C_Location implements Comparator<Object>, Immut
return false;
if (cmp.getClass().equals(this.getClass()))
return ((PO)cmp).get_ID() == get_ID();
return equals(cmp);
return super.equals(cmp);
} // equals
@Override