Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
Log4j-Audit 1.0.0
-
None
-
Patch
Description
Seeing that the result of LogEventFactory.getEvent is always cast to AuditEvent, I think the definition of the return type can be narrowed like this:
public static <T extends AuditEvent> T getEvent(Class<T> intrface)
Attachments
Issue Links
- links to