8285890: Fix some @param tags

Reviewed-by: dfuchs, mullan, darcy, mchung, wetmore
This commit is contained in:
Pavel Rappo 2022-04-30 21:21:17 +00:00
parent d9541c5e9f
commit 3eb661bbe7
8 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -70,11 +70,11 @@ class Shutdown {
* be added to the delete on exit list by the application shutdown
* hooks.
*
* @params slot the slot in the shutdown hook array, whose element
* will be invoked in order during shutdown
* @params registerShutdownInProgress true to allow the hook
* to be registered even if the shutdown is in progress.
* @params hook the hook to be registered
* @param slot the slot in the shutdown hook array, whose element
* will be invoked in order during shutdown
* @param registerShutdownInProgress true to allow the hook
* to be registered even if the shutdown is in progress.
* @param hook the hook to be registered
*
* @throws IllegalStateException
* if registerShutdownInProgress is false and shutdown is in progress; or

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -376,8 +376,8 @@ final class StackStreamFactory {
/*
* Fetches stack frames.
*
* @params batchSize number of elements of the frame buffers for this batch
* @returns number of frames fetched in this batch
* @param batchSize number of elements of the frame buffers for this batch
* @return number of frames fetched in this batch
*/
private int fetchStackFrames(int batchSize) {
int startIndex = frameBuffer.startIndex();

View File

@ -45,7 +45,7 @@ import jdk.internal.vm.annotation.IntrinsicCandidate;
* phantom reference always returns {@code null}.
* The {@link #refersTo(Object) refersTo} method can be used to test
* whether some object is the referent of a phantom reference.
* @param<T> the type of the referent
* @param <T> the type of the referent
*
* @author Mark Reinhold
* @since 1.2

View File

@ -36,7 +36,7 @@ import jdk.internal.ref.Cleaner;
* operations common to all reference objects. Because reference objects are
* implemented in close cooperation with the garbage collector, this class may
* not be subclassed directly.
* @param<T> the type of the referent
* @param <T> the type of the referent
*
* @author Mark Reinhold
* @since 1.2

View File

@ -31,7 +31,7 @@ import jdk.internal.misc.VM;
/**
* Reference queues, to which registered reference objects are appended by the
* garbage collector after the appropriate reachability changes are detected.
* @param<T> the type of the reference object
* @param <T> the type of the reference object
*
* @author Mark Reinhold
* @since 1.2

View File

@ -56,7 +56,7 @@ package java.lang.ref;
* prevent its most recently used entries from being discarded by keeping
* strong referents to those entries, leaving the remaining entries to be
* discarded at the discretion of the garbage collector.
* @param<T> the type of the referent
* @param <T> the type of the referent
*
* @author Mark Reinhold
* @since 1.2

View File

@ -40,7 +40,7 @@ package java.lang.ref;
* weakly-reachable objects to be finalizable. At the same time or at some
* later time it will enqueue those newly-cleared weak references that are
* registered with reference queues.
* @param<T> the type of the referent
* @param <T> the type of the referent
*
* @author Mark Reinhold
* @since 1.2

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -280,7 +280,7 @@ public class GSSHeader {
/**
* Put the encoding of the length in the specified stream.
*
* @params len the length of the attribute.
* @param len the length of the attribute.
* @param out the outputstream to write the length to
* @return the number of bytes written
* @exception IOException on writing errors.