ppkarwasz opened a new pull request, #706:
URL: https://github.com/apache/commons-compress/pull/706
This PR introduces builders for all `ArchiveInputStream` implementations,
starting from a new generic builder that captures options shared across
implementations. Existing code has been refactored to use the new builders
instead of direct constructor calls, improving consistency, readability, and
maintainability.
## Changes
* **Generic builder** for `ArchiveInputStream` to handle shared options.
* **New builders** for specific implementations:
* `ArArchiveInputStream`
* `ArjArchiveInputStream`
* `CpioArchiveInputStream`
* `DumpArchiveInputStream`
* `JarArchiveInputStream`
* `ZipArchiveInputStream`
## Motivation
* Simplifies client code by replacing complex or repetitive constructor
calls.
* Provides a unified and extensible API for configuring archive input
streams.
* Improves readability and makes future changes to constructors less
disruptive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]