On Wednesday 18 August 2004 00:30, Terence Lai wrote: > Â Â Â Â Â Â if (fsDir != null) { > Â Â Â Â Â Â Â Â try { > Â Â Â Â Â Â Â Â Â Â is.close(); > Â Â Â Â Â Â Â Â } catch (Exception ex) { > Â Â Â Â Â Â Â Â } > Â Â Â Â Â Â }
You close is here again, not fsDir. Also, it's a good idea to never ignore exceptions, you should at least print them out, even if it's just a close() that fails. Regards Daniel -- http://www.danielnaber.de