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

dcapwell 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 f9ed591f Migrate route index from commands table to journal, and drop 
the commands table (#152)
f9ed591f is described below

commit f9ed591f1b91115351b871640b6318f11dd208af
Author: dcapwell <[email protected]>
AuthorDate: Fri Jan 17 15:16:25 2025 -0800

    Migrate route index from commands table to journal, and drop the commands 
table (#152)
    
    patch by David Capwell; reviewed by Alex Petrov for CASSANDRA-20144
---
 accord-core/src/test/java/accord/utils/Property.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/accord-core/src/test/java/accord/utils/Property.java 
b/accord-core/src/test/java/accord/utils/Property.java
index f76ee293..79c29c5a 100644
--- a/accord-core/src/test/java/accord/utils/Property.java
+++ b/accord-core/src/test/java/accord/utils/Property.java
@@ -896,6 +896,11 @@ public class Property
             return addIf(predicate, (rs, state) -> cmd.next(rs));
         }
 
+        public CommandsBuilder<State, SystemUnderTest> addIf(Predicate<State> 
predicate, Command<State, SystemUnderTest, ?> cmd)
+        {
+            return addIf(predicate, (rs, state) -> cmd);
+        }
+
         public CommandsBuilder<State, SystemUnderTest> addIf(Predicate<State> 
predicate, Setup<State, SystemUnderTest> cmd)
         {
             if (conditionalCommands == null)


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

Reply via email to