From: Michael Koch Date: Fri, 27 Jun 2003 15:46:59 +0000 (+0000) Subject: 2003-06-27 Michael Koch X-Git-Tag: releases/gcc-3.4.0~5420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=824d4a10367020f226d5bbdbdcd8638582e1f440;p=thirdparty%2Fgcc.git 2003-06-27 Michael Koch * java/io/RandomAccessFile.java (readLine): Removed wrong @deprecated tag. (getChannel): Made final. From-SVN: r68574 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f956c04fe41a..08d216567b47 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2003-06-27 Michael Koch + + * java/io/RandomAccessFile.java + (readLine): Removed wrong @deprecated tag. + (getChannel): Made final. + 2003-06-27 Michael Koch * gnu/java/nio/FileChannelImpl.java diff --git a/libjava/java/io/RandomAccessFile.java b/libjava/java/io/RandomAccessFile.java index 0ff2ff65ce97..08fedb0e095c 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);