ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <>
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


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

View raw message