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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to