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:
parent
0791cb20bc
commit
69f2de23b2
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue