commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [io] Towards the 2.0 release
Date Thu, 20 Aug 2009 05:53:08 GMT
Hi Jukka,

Jukka Zitting wrote at Mittwoch, 19. August 2009 14:37:

> 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.

No, I don't have a strong feeling about it, but it feels nevertheless wrong
to me. Therefore I raised the concern *before* something is released,
simply to know if I am the only one (then go ahead) or if others feel the
same.

- Jörg


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


Mime
View raw message