Commit f7ddacf9 authored by Andy Wilkinson's avatar Andy Wilkinson

Update AuditEventRepository javadoc to describe behaviour of after

The behaviour was changed in 2b99962a. This commit updates the
javadoc to hopefully clarify that Instant.isAfter(Instant) is used.

Closes gh-11612
parent 5b8a2f96
......@@ -34,10 +34,10 @@ public interface AuditEventRepository {
void add(AuditEvent event);
/**
* Find audit events of specified type relating to the specified principal since the
* time provided.
* Find audit events of specified type relating to the specified principal that
* occurred {@link Instant#isAfter(Instant) after} the time provided.
* @param principal the principal name to search for (or {@code null} if unrestricted)
* @param after timestamp of earliest result required (or {@code null} if
* @param after time after which an event must have occurred (or {@code null} if
* unrestricted)
* @param type the event type to search for (or {@code null} if unrestricted)
* @return audit events of specified type relating to the principal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment