Re: question with commons-io FileUtils deleteDirectory(File direcotry)

2010-01-29 Thread Mazer Lao Tzu
What would you have it do if the directory is null? Currently it will throw a NullPointerException. Would it be more correct to simply do nothing (as it does when the directory does not exist)? On Thu, Jan 28, 2010 at 10:48 PM, shukai yuan wrote: > HI, > > Maybe the method FileUtils.deleteDirect

question with commons-io FileUtils deleteDirectory(File direcotry)

2010-01-28 Thread shukai yuan
HI, Maybe the method FileUtils.deleteDirectory(File directory) should check whether the directory is null? Shukai

question with commons-io

2010-01-28 Thread shukai yuan
Hi, Why the method 'isSymlink(File file)' which is in the org.apache.commons.iopackage does not check whether the file exists? Maybe this method only be used in some method of the FileUtils class and the check logic is provided in these method, but the modifier of this mehod is "public", it may b