Description
Extending AbstractLogEvent there is currently no way to mutate the instant without casting the return value of "getInstant()".
By making instant protected, classes extending AbstractLogEvent can avoid creating a second Instant implementation in addition to the default.
Alternatively, we can use a static constant immutable instant, and return that form getInstant by default. This would break any consumers that cast getInstant to a MutableInstant.
Attachments
Issue Links
- links to