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
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -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…
Reference in New Issue
Block a user