FileLockImpl.java: Compile fixes.

2004-01-23  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/FileLockImpl.java: Compile fixes.

From-SVN: r76427
This commit is contained in:
Michael Koch
2004-01-23 15:53:51 +00:00
committed by Michael Koch
parent 0791cb20bc
commit 69f2de23b2
2 changed files with 5 additions and 3 deletions
+1 -3
View File
@@ -82,8 +82,7 @@ public class FileLockImpl extends FileLock
public boolean isValid ()
{
return (released
|| !channel ().isOpen ());
return !channel().isOpen();
}
private native void releaseImpl () throws IOException;
@@ -91,6 +90,5 @@ public class FileLockImpl extends FileLock
public synchronized void release () throws IOException
{
releaseImpl ();
released = true;
}
}