aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java/nio/FileLockImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/gnu/java/nio/FileLockImpl.java')
-rw-r--r--libjava/classpath/gnu/java/nio/FileLockImpl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/classpath/gnu/java/nio/FileLockImpl.java b/libjava/classpath/gnu/java/nio/FileLockImpl.java
index 768906c..e714ea3 100644
--- a/libjava/classpath/gnu/java/nio/FileLockImpl.java
+++ b/libjava/classpath/gnu/java/nio/FileLockImpl.java
@@ -69,14 +69,14 @@ public final class FileLockImpl extends FileLock
{
try
{
- release();
+ release();
}
catch (IOException e)
{
- // Ignore this.
+ // Ignore this.
}
}
-
+
/**
* Whether or not this lock is valid, false when channel is closed or
* release has been explicitly called.
@@ -95,8 +95,8 @@ public final class FileLockImpl extends FileLock
{
if (isValid())
{
- valid = false;
- ((FileChannelImpl) channel()).unlock(position(), size());
+ valid = false;
+ ((FileChannelImpl) channel()).unlock(position(), size());
}
}
}