From 91d757cf810b882b6b9dbb3989f05e2ac1ba63cc Mon Sep 17 00:00:00 2001 From: hengsin Date: Thu, 8 Feb 2024 02:44:21 +0800 Subject: [PATCH] IDEMPIERE-6030 Potential infinite loop in MLocation.equals (Object) method (#2231) --- org.adempiere.base/src/org/compiere/model/MLocation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MLocation.java b/org.adempiere.base/src/org/compiere/model/MLocation.java index 752019f7cf..b54cd09758 100644 --- a/org.adempiere.base/src/org/compiere/model/MLocation.java +++ b/org.adempiere.base/src/org/compiere/model/MLocation.java @@ -506,7 +506,7 @@ public class MLocation extends X_C_Location implements Comparator, 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