2003-06-27 Michael Koch <konqueror@gmx.de>
* java/io/RandomAccessFile.java (readLine): Removed wrong @deprecated tag. (getChannel): Made final. From-SVN: r68574
This commit is contained in:
parent
67f2899de2
commit
824d4a1036
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2003-06-27 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
|
* java/io/RandomAccessFile.java
|
||||||
|
(readLine): Removed wrong @deprecated tag.
|
||||||
|
(getChannel): Made final.
|
||||||
|
|
||||||
2003-06-27 Michael Koch <konqueror@gmx.de>
|
2003-06-27 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
* gnu/java/nio/FileChannelImpl.java
|
* gnu/java/nio/FileChannelImpl.java
|
||||||
|
|
|
@ -488,8 +488,6 @@ public class RandomAccessFile implements DataOutput, DataInput
|
||||||
* @exception IOException If an error occurs
|
* @exception IOException If an error occurs
|
||||||
*
|
*
|
||||||
* @see DataOutput
|
* @see DataOutput
|
||||||
*
|
|
||||||
* @deprecated
|
|
||||||
*/
|
*/
|
||||||
public final String readLine () throws IOException
|
public final String readLine () throws IOException
|
||||||
{
|
{
|
||||||
|
@ -962,7 +960,7 @@ public class RandomAccessFile implements DataOutput, DataInput
|
||||||
* A file channel must be created by first creating an instance of
|
* A file channel must be created by first creating an instance of
|
||||||
* Input/Output/RandomAccessFile and invoking the getChannel() method on it.
|
* Input/Output/RandomAccessFile and invoking the getChannel() method on it.
|
||||||
*/
|
*/
|
||||||
public synchronized FileChannel getChannel ()
|
public final synchronized FileChannel getChannel ()
|
||||||
{
|
{
|
||||||
if (ch == null)
|
if (ch == null)
|
||||||
ch = new FileChannelImpl (fd, true, this);
|
ch = new FileChannelImpl (fd, true, this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue