Commit 69f2de23 by Michael Koch Committed by Michael Koch

FileLockImpl.java: Compile fixes.

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

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

From-SVN: r76427
parent 0791cb20
2004-01-23 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileLockImpl.java: Compile fixes.
2004-01-23 Michael Koch <konqueror@gmx.de>
* java/lang/VMClassLoader.java: Reworked imports.
2004-01-23 Michael Koch <konqueror@gmx.de>
......
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment