jdk/src/java.base/share/classes/java/nio/X-Buffer.java.template
changeset 38321 ff5b89346438
parent 36933 3e6453e2d833
child 44369 b5c4e28a7521
--- a/jdk/src/java.base/share/classes/java/nio/X-Buffer.java.template	Mon May 16 14:47:27 2016 +0530
+++ b/jdk/src/java.base/share/classes/java/nio/X-Buffer.java.template	Mon May 16 15:10:04 2016 +0100
@@ -70,8 +70,7 @@
  *
 #end[byte]
  *
- *   <li><p> Methods for {@link #compact compacting}, {@link
- *   #duplicate duplicating}, and {@link #slice slicing}
+ *   <li><p> A method for {@link #compact compacting}
  *   $a$ $type$ buffer.  </p></li>
  *
  * </ul>
@@ -535,6 +534,7 @@
      * @see #alignedSlice(int)
 #end[byte]
      */
+    @Override
     public abstract $Type$Buffer slice();
 
     /**
@@ -557,6 +557,7 @@
      *
      * @return  The new $type$ buffer
      */
+    @Override
     public abstract $Type$Buffer duplicate();
 
     /**