Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
We've run into an inconsistency with the TarArchiveEntry at jdeb.
https://github.com/tcurdt/jdeb/issues/217
You can create a `TarArchiveEntry(String name, boolean preserveLeadingSlashes)` but the `preserveLeadingSlashes` is only applied in the constructor.
I am proposing to turn `preserveLeadingSlashes` into a read-only property and use the value on `setName()`, too (instead of just false).
This has some implications and maybe some backwards compatibility issues - but even then I think it would be the right thing to do.
I am happy to make the change but thought to discuss this first.