hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Writes to AbstractContentEncoder.completed field
Date Mon, 17 Jun 2013 13:52:19 GMT
At present, the classes ChunkEncoder and LengthDelimitedEncoder both
use the code

this.completed = true;

This is equivalent to super.complete(); these are the only remaining
external acceses to the field.

Any objections to making that change?

The completed field can then be deprecated so accidental external
access will be flagged.

One day we can make it private, which will stop completed from ever
being reset back to false (which I assume would cause some problems!)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message