Skip to content

Commit 3eb661b

Browse files
committed
8285890: Fix some @param tags
Reviewed-by: dfuchs, mullan, darcy, mchung, wetmore
1 parent d9541c5 commit 3eb661b

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

src/java.base/share/classes/java/lang/Shutdown.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -70,11 +70,11 @@ private static class Lock { };
7070
* be added to the delete on exit list by the application shutdown
7171
* hooks.
7272
*
73-
* @params slot the slot in the shutdown hook array, whose element
74-
* will be invoked in order during shutdown
75-
* @params registerShutdownInProgress true to allow the hook
76-
* to be registered even if the shutdown is in progress.
77-
* @params hook the hook to be registered
73+
* @param slot the slot in the shutdown hook array, whose element
74+
* will be invoked in order during shutdown
75+
* @param registerShutdownInProgress true to allow the hook
76+
* to be registered even if the shutdown is in progress.
77+
* @param hook the hook to be registered
7878
*
7979
* @throws IllegalStateException
8080
* if registerShutdownInProgress is false and shutdown is in progress; or

src/java.base/share/classes/java/lang/StackStreamFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -376,8 +376,8 @@ private R beginStackWalk() {
376376
/*
377377
* Fetches stack frames.
378378
*
379-
* @params batchSize number of elements of the frame buffers for this batch
380-
* @returns number of frames fetched in this batch
379+
* @param batchSize number of elements of the frame buffers for this batch
380+
* @return number of frames fetched in this batch
381381
*/
382382
private int fetchStackFrames(int batchSize) {
383383
int startIndex = frameBuffer.startIndex();

src/java.base/share/classes/java/lang/ref/PhantomReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* phantom reference always returns {@code null}.
4646
* The {@link #refersTo(Object) refersTo} method can be used to test
4747
* whether some object is the referent of a phantom reference.
48-
* @param<T> the type of the referent
48+
* @param <T> the type of the referent
4949
*
5050
* @author Mark Reinhold
5151
* @since 1.2

src/java.base/share/classes/java/lang/ref/Reference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* operations common to all reference objects. Because reference objects are
3737
* implemented in close cooperation with the garbage collector, this class may
3838
* not be subclassed directly.
39-
* @param<T> the type of the referent
39+
* @param <T> the type of the referent
4040
*
4141
* @author Mark Reinhold
4242
* @since 1.2

src/java.base/share/classes/java/lang/ref/ReferenceQueue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* Reference queues, to which registered reference objects are appended by the
3333
* garbage collector after the appropriate reachability changes are detected.
34-
* @param<T> the type of the reference object
34+
* @param <T> the type of the reference object
3535
*
3636
* @author Mark Reinhold
3737
* @since 1.2

src/java.base/share/classes/java/lang/ref/SoftReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* prevent its most recently used entries from being discarded by keeping
5757
* strong referents to those entries, leaving the remaining entries to be
5858
* discarded at the discretion of the garbage collector.
59-
* @param<T> the type of the referent
59+
* @param <T> the type of the referent
6060
*
6161
* @author Mark Reinhold
6262
* @since 1.2

src/java.base/share/classes/java/lang/ref/WeakReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* weakly-reachable objects to be finalizable. At the same time or at some
4141
* later time it will enqueue those newly-cleared weak references that are
4242
* registered with reference queues.
43-
* @param<T> the type of the referent
43+
* @param <T> the type of the referent
4444
*
4545
* @author Mark Reinhold
4646
* @since 1.2

src/java.security.jgss/share/classes/sun/security/jgss/GSSHeader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -280,7 +280,7 @@ private int getLength(int lenByte, InputStream in) throws IOException {
280280
/**
281281
* Put the encoding of the length in the specified stream.
282282
*
283-
* @params len the length of the attribute.
283+
* @param len the length of the attribute.
284284
* @param out the outputstream to write the length to
285285
* @return the number of bytes written
286286
* @exception IOException on writing errors.

0 commit comments

Comments
 (0)