This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 96b7546444 ISIS-3002: adds wildcard for
HasInteraction_executionLogEntries mixin
96b7546444 is described below
commit 96b7546444f90d64fcb53e7f6220a62168069880
Author: Dan Haywood <[email protected]>
AuthorDate: Tue Aug 2 23:51:30 2022 +0100
ISIS-3002: adds wildcard for HasInteraction_executionLogEntries mixin
so can inject repository bean
---
.../applib/contributions/HasInteractionId_executionLogEntries.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/contributions/HasInteractionId_executionLogEntries.java
b/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/contributions/HasInteractionId_executionLogEntries.java
index d62466988a..9c3b783c77 100644
---
a/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/contributions/HasInteractionId_executionLogEntries.java
+++
b/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/contributions/HasInteractionId_executionLogEntries.java
@@ -45,7 +45,7 @@ public class HasInteractionId_executionLogEntries {
extends
IsisModuleExtExecutionLogApplib.CollectionDomainEvent<HasInteractionId_executionLogEntries,
ExecutionLogEntry> { }
- public List<ExecutionLogEntry> act() {
+ public List<? extends ExecutionLogEntry> act() {
return
executionLogEntryRepository.findByInteractionId(hasInteractionId.getInteractionId());
}
@@ -54,6 +54,6 @@ public class HasInteractionId_executionLogEntries {
return hasInteractionId instanceof ExecutionLogEntry;
}
- @Inject ExecutionLogEntryRepository<ExecutionLogEntry>
executionLogEntryRepository;
+ @Inject ExecutionLogEntryRepository<? extends ExecutionLogEntry>
executionLogEntryRepository;
}