aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-06-27 15:46:59 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-06-27 15:46:59 +0000
commit824d4a10367020f226d5bbdbdcd8638582e1f440 (patch)
tree1e23bba3b84677c929e3d2848938c163823e544b /libjava
parent67f2899de2f6d2079b779107f736a607e0ddfa5d (diff)
downloadgcc-824d4a10367020f226d5bbdbdcd8638582e1f440.zip
gcc-824d4a10367020f226d5bbdbdcd8638582e1f440.tar.gz
gcc-824d4a10367020f226d5bbdbdcd8638582e1f440.tar.bz2
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/io/RandomAccessFile.java (readLine): Removed wrong @deprecated tag. (getChannel): Made final. From-SVN: r68574
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/java/io/RandomAccessFile.java4
2 files changed, 7 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index f956c04..08d2165 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,11 @@
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>
+
* gnu/java/nio/FileChannelImpl.java
(write): Removed.
diff --git a/libjava/java/io/RandomAccessFile.java b/libjava/java/io/RandomAccessFile.java
index 0ff2ff6..08fedb0 100644
--- a/libjava/java/io/RandomAccessFile.java
+++ b/libjava/java/io/RandomAccessFile.java
@@ -488,8 +488,6 @@ public class RandomAccessFile implements DataOutput, DataInput
* @exception IOException If an error occurs
*
* @see DataOutput
- *
- * @deprecated
*/
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
* Input/Output/RandomAccessFile and invoking the getChannel() method on it.
*/
- public synchronized FileChannel getChannel ()
+ public final synchronized FileChannel getChannel ()
{
if (ch == null)
ch = new FileChannelImpl (fd, true, this);