Skip to content

Commit f7ddacf

Browse files
committed
Update AuditEventRepository javadoc to describe behaviour of after
The behaviour was changed in 2b99962. This commit updates the javadoc to hopefully clarify that Instant.isAfter(Instant) is used. Closes gh-11612
1 parent 5b8a2f9 commit f7ddacf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEventRepository.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public interface AuditEventRepository {
3434
void add(AuditEvent event);
3535

3636
/**
37-
* Find audit events of specified type relating to the specified principal since the
38-
* time provided.
37+
* Find audit events of specified type relating to the specified principal that
38+
* occurred {@link Instant#isAfter(Instant) after} the time provided.
3939
* @param principal the principal name to search for (or {@code null} if unrestricted)
40-
* @param after timestamp of earliest result required (or {@code null} if
40+
* @param after time after which an event must have occurred (or {@code null} if
4141
* unrestricted)
4242
* @param type the event type to search for (or {@code null} if unrestricted)
4343
* @return audit events of specified type relating to the principal

0 commit comments

Comments
 (0)