Should LockableFileWriter.close() be changed from:
public void close() throws IOException {
try {
out.close();
} finally {
lockFile.delete();
}
to:
public boolean close() throws IOException {
try {
out.close();
} finally {
return lockFile.delete();
}
?
Gary
--
E-Mail: [email protected] | [email protected]
JUnit in Action, 2nd Ed: http://s.apache.org/rl
Spring Batch in Action: http://s.apache.org/HOq
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory