summaryrefslogtreecommitdiffstats
path: root/libjava/java/io/RandomAccessFile.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-27 15:46:59 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-27 15:46:59 +0000
commita771ac956916c6a75298547c062467623aeadd8a (patch)
tree1e23bba3b84677c929e3d2848938c163823e544b /libjava/java/io/RandomAccessFile.java
parent0212e4a6e4e36bbf46534a954bf336a502b62e94 (diff)
downloadppe42-gcc-a771ac956916c6a75298547c062467623aeadd8a.tar.gz
ppe42-gcc-a771ac956916c6a75298547c062467623aeadd8a.zip
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/io/RandomAccessFile.java (readLine): Removed wrong @deprecated tag. (getChannel): Made final. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68574 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io/RandomAccessFile.java')
-rw-r--r--libjava/java/io/RandomAccessFile.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/libjava/java/io/RandomAccessFile.java b/libjava/java/io/RandomAccessFile.java
index 0ff2ff65ce9..08fedb0e095 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);
OpenPOWER on IntegriCloud