public final FileLock lock() throws IOException
Signature of this (overloaded) method doesn't have any parameters.
List of parameters (position, size, shared) need to be removed from API documentation.
Also, IllegalArgumentException is listed in Throws block. This may be unnecessary.
ditto for method
public final FileLock tryLock() throws IOException
Signature of this (overloaded) method doesn't have any parameters.
List of parameters (position, size, shared) need to be removed from API documentation.
Also, IllegalArgumentException is listed in Throws block. This may be unnecessary.
ditto for method
public final FileLock tryLock() throws IOException
- duplicates
-
JDK-4485968 FC.lock(),tryLock() has "Parameters" section whereas both takes no parameters.
-
- Closed
-