This is an automated email from the ASF dual-hosted git repository.

benedict pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fef49bad ninja: fix StoreParticipants.equals
fef49bad is described below

commit fef49bad769e7e38675f2787918b4543c20ec580
Author: Benedict Elliott Smith <[email protected]>
AuthorDate: Fri Oct 4 17:52:54 2024 +0100

    ninja: fix StoreParticipants.equals
---
 accord-core/src/main/java/accord/local/StoreParticipants.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/accord-core/src/main/java/accord/local/StoreParticipants.java 
b/accord-core/src/main/java/accord/local/StoreParticipants.java
index 0ba6f6a3..7c8a319b 100644
--- a/accord-core/src/main/java/accord/local/StoreParticipants.java
+++ b/accord-core/src/main/java/accord/local/StoreParticipants.java
@@ -217,7 +217,10 @@ public class StoreParticipants
         if (!(obj instanceof StoreParticipants)) return false;
         if (obj == this) return true;
         StoreParticipants that = (StoreParticipants) obj;
-        return Objects.equals(route, that.route) && owns.equals(that.owns) && 
touches.equals(that.touches);
+        return Objects.equals(route, that.route)
+               && owns.equals(that.owns)
+               && touches.equals(that.touches)
+               && hasTouched.equals(that.hasTouched);
     }
 
     public String toString()


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to