[jcifs] SmbFile.delete() method return type

M. D. moder at abv.bg
Fri Feb 27 07:57:10 MST 2015


I have a question for the community.

Since SmbFile.delete() returns void instead of boolean as is java.io.File, is it safe to assume that successfully returning from SmbFile.delete() would indicate that the file was actually deleted? Would there be any need do additional checks for existance with SmbFile.exists() afterwards?

Best regards,

More information about the jCIFS mailing list