OpenJDK / jdk / jdk
changeset 59880:b9416643b58b
8247959: doclint errors in NIO code
Reviewed-by: alanb, lancea
author | jjg |
---|---|
date | Mon, 22 Jun 2020 09:29:16 -0700 |
parents | 8fc8245d08f9 |
children | ba36107de260 |
files | src/jdk.nio.mapmode/share/classes/jdk/nio/mapmode/ExtendedMapMode.java src/jdk.sctp/share/classes/com/sun/nio/sctp/NotificationHandler.java |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jdk.nio.mapmode/share/classes/jdk/nio/mapmode/ExtendedMapMode.java Mon Jun 22 12:03:11 2020 +0200 +++ b/src/jdk.nio.mapmode/share/classes/jdk/nio/mapmode/ExtendedMapMode.java Mon Jun 22 09:29:16 2020 -0700 @@ -25,6 +25,8 @@ package jdk.nio.mapmode; +import java.nio.MappedByteBuffer; +import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; /** @@ -52,7 +54,7 @@ /** * File mapping mode for a read-write mapping of a file backed by - * non-volatile RAM. {@linkplain MappedByteBufefr#force force} + * non-volatile RAM. {@linkplain MappedByteBuffer#force force} * operations on a buffer created with this mode will be performed * using cache line writeback rather than proceeding via a file * device flush.
--- a/src/jdk.sctp/share/classes/com/sun/nio/sctp/NotificationHandler.java Mon Jun 22 12:03:11 2020 +0200 +++ b/src/jdk.sctp/share/classes/com/sun/nio/sctp/NotificationHandler.java Mon Jun 22 09:29:16 2020 -0700 @@ -45,7 +45,7 @@ * this handler interface as the type for parameters, return type, etc. rather * than the abstract class. * - * @param T The type of the object attached to the receive operation + * @param <T> The type of the object attached to the receive operation * * @since 1.7 */