On 2015-01-31, sebb wrote:

> Given that the protected fields were in a class marked as internal, it
> seems arguable that users should not have referred to any of the items
> in it.
> Therefore we could potentially make all the mutable protected fields
> private (and add protected getters).

Even if the class was marked internal ZCompressorInputStream which
inherits said fields was not.  Subclasses of ZCompressorInputStream
would be broken if we changed the fields now, I'm afraid it is too late
already.

> If it is considered unsafe to make the fields private, at the very
> least I think we should deprecate them and add getters instead.

Yes, that would work for me.

Stefan

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


Reply via email to