commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject [IO] DirectoryWalker Collection parameter types
Date Thu, 07 Jan 2010 21:51:00 GMT
The overridable methods in DirectoryWalker currently use Collection<?>
as a parameter type.

As far as I can tell, the Collections need to contain File objects, so
would it not be better to use Collection<File>?

Might be nice to use Collection<? extends File>, but when I tried that
there were some problems with the test cases.

Any views?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message