Remove unnecessary flush calls from LockFile

Change-Id: I144af9db4714acabd796880be73bd50d84b92efe
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
Shawn O. Pearce 2010-11-10 17:30:43 -08:00
parent ed5fe8af9a
commit 2f6e79307d
1 changed files with 0 additions and 6 deletions

View File

@ -304,15 +304,9 @@ public void write(final int b) throws IOException {
out.write(b);
}
@Override
public void flush() throws IOException {
out.flush();
}
@Override
public void close() throws IOException {
try {
out.flush();
if (fsync)
os.getChannel().force(true);
out.close();