skuzzle/restrict-imports-enforcer-rule

Get rid of commentLineBufferSize

skuzzle opened this issue · 1 comments

Manual configuration of the buffer size adds useless clutter to the plugin's configuration which otherwise is aimed to be as concise as possible.

The fixed value for commentLineBufferSize arises from the use of java's PushbackReader which uses a fixed size pushback buffer under the hood. Stripping comments from the input source is already quite complicated but I feel there must be a better way involving a dynamically growing buffer

This is fixed in 0.16.0. The tool now uses a dynamic buffer and the commentLineBufferSize is no longer necessary