ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <kevin.jack...@it.fts-vn.com>
Subject FileUtils
Date Tue, 28 Dec 2004 11:57:46 GMT
Would it seriously break backwards compatibility to make the current 
FileUtils a static class?

Looking at Expand earlier, I noticed several protected methods that 
passed a FileUtils object as a parameter, if the FileUtils class was 
static we could do away with a parameter being passed all the way down

execute ->
expandFile(fileUtils, source, dest) ->
extractFile(fileUtils, srcF, dir, zf.getInputStream(ze),
                            ze.getName(), new Date(ze.getTime()),
                            ze.isDirectory(), mapper);

Just a thought

Kev

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


Mime
View raw message