You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2026/04/24 07:49:37 UTC
(causeway) 27/28: CAUSEWAY-3989: [v2] fixes (?) names queries
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch CAUSEWAY-3989
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 966c1846623c9918e60e5671183400be2b87ec20
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Apr 23 00:47:23 2026 +0100
CAUSEWAY-3989: [v2] fixes (?) names queries
---
.../commandlog/applib/dom/CommandLogEntryRepositoryAbstract.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/dom/CommandLogEntryRepositoryAbstract.java b/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/dom/CommandLogEntryRepositoryAbstract.java
index ba06ec2dff3..bff9967e360 100644
--- a/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/dom/CommandLogEntryRepositoryAbstract.java
+++ b/extensions/core/commandlog/applib/src/main/java/org/apache/causeway/extensions/commandlog/applib/dom/CommandLogEntryRepositoryAbstract.java
@@ -430,19 +430,19 @@ public List<CommandLogEntry> findSinceAndWithReplayOkOrExcluded(final Timestamp
return findForegroundSinceTimestampWithStates(since, ReplayState.OK, ReplayState.EXCLUDED);
}
- private List<CommandLogEntry> findForegroundSinceTimestampWithState(Timestamp since, ReplayState replayState) {
+ private List<CommandLogEntry> findForegroundSinceTimestampWithState(Timestamp from, ReplayState replayState) {
return _Casts.uncheckedCast(
repositoryService().allMatches(
Query.named(commandLogEntryClass, CommandLogEntry.Nq.FIND_FOREGROUND_BY_TIMESTAMP_AFTER_AND_REPLAY_STATE)
- .withParameter("timestamp", since)
+ .withParameter("from", from)
.withParameter("replayState", replayState)));
}
- private List<CommandLogEntry> findForegroundSinceTimestampWithStates(Timestamp since, ReplayState replayState1, ReplayState replayState2) {
+ private List<CommandLogEntry> findForegroundSinceTimestampWithStates(Timestamp from, ReplayState replayState1, ReplayState replayState2) {
return _Casts.uncheckedCast(
repositoryService().allMatches(
Query.named(commandLogEntryClass, CommandLogEntry.Nq.FIND_FOREGROUND_BY_TIMESTAMP_AFTER_AND_REPLAY_STATES)
- .withParameter("timestamp", since)
+ .withParameter("from", from)
.withParameter("replayState1", replayState1)
.withParameter("replayState2", replayState2)));
}