[ 
https://issues.apache.org/jira/browse/LUCENE-10143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424062#comment-17424062
 ] 

Uwe Schindler commented on LUCENE-10143:
----------------------------------------

Maybe we can use project Lombok to automatically generate the FilterXYZ base 
classes:

[https://projectlombok.org/features/Delegate.html]

Just create the source class and annotate the "in" or "delegate" final field 
with the {{@Delegate}} annotation and the compiler generates the methods for 
us. So we can't forget to delegate. Everything not explicitely defined in the 
class is autogenerated.

> RateLimitedIndexOutput should delegate writeShort/writeInt/writeLong
> --------------------------------------------------------------------
>
>                 Key: LUCENE-10143
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10143
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: screenshot-1.png
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Otherwise merges are not taking advantage of LUCENE-10125.
> cc [~uschindler]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to