OSDN Git Service

2003-06-27 Michael Koch <konqueror@gmx.de>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jun 2003 15:46:59 +0000 (15:46 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jun 2003 15:46:59 +0000 (15:46 +0000)
* 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

libjava/ChangeLog
libjava/java/io/RandomAccessFile.java

index f956c04..08d2165 100644 (file)
@@ -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.
 
index 0ff2ff6..08fedb0 100644 (file)
@@ -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);