commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: [io] Towards the 2.0 release
Date Wed, 19 Aug 2009 12:37:37 GMT
Hi,

On Wed, Aug 19, 2009 at 10:47 AM, Jörg Schaible<joerg.schaible@gmx.de> wrote:
> The only concern I have are the new Broken(In/Out)putStream implementations.
> IMHO those are somewhat out-of-scope for IO, you explicitly mention that
> these implementations are for testing purposes. I'd rather see commons-test
> reactivated than putting such code into a component that is normally used
> in production code.

If you feel strongly about this I guess we can do that or move the
broken streams to src/test/java inside Commons IO where they are
already used for testing the tagged stream classes (any downstream
users would then need to copy the sources).

But personally I don't understand the "normally used in production"
argument. Test code benefits from reuse just as much as normal code.
And there are a lot of test projects (TCKs, etc.) that are in
production use.

AFAIUI the purpose of Commons is to create reusable code, regardless
of the scope or field of that reuse. And Commons IO is defined as
"library of utilities to assist with developing IO functionality".
IMHO utilities to help test IO code are clearly within this scope.

BR,

Jukka Zitting

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


Mime
View raw message