Skip to content

Commit

Permalink
8276674: Malformed Javadoc inline tags in JDK source
Browse files Browse the repository at this point in the history
Reviewed-by: jjg, rriggs, prappo, bchristi
  • Loading branch information
Tim Prinzing authored and Brent Christian committed Dec 2, 2021
1 parent e0f1fc7 commit 652b5f8
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
Expand Up @@ -180,7 +180,7 @@ public static int getLeafTarget() {

/**
* Computes the result associated with a leaf node. Will be called by
* {@code compute()} and the result passed to @{code setLocalResult()}
* {@code compute()} and the result passed to {@code setLocalResult()}
*
* @return the computed result of a leaf node
*/
Expand Down
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/util/stream/FindOps.java
Expand Up @@ -162,7 +162,7 @@ public <P_IN> O evaluateParallel(PipelineHelper<T> helper,
}

/**
* Implementation of @{code TerminalSink} that implements the find
* Implementation of {@code TerminalSink} that implements the find
* functionality, requesting cancellation when something has been found
*
* @param <T> The type of input element
Expand Down
6 changes: 3 additions & 3 deletions src/java.base/share/classes/java/util/stream/Node.java
Expand Up @@ -200,23 +200,23 @@ interface Builder<T> extends Sink<T> {
Node<T> build();

/**
* Specialized @{code Node.Builder} for int elements
* Specialized {@code Node.Builder} for int elements
*/
interface OfInt extends Node.Builder<Integer>, Sink.OfInt {
@Override
Node.OfInt build();
}

/**
* Specialized @{code Node.Builder} for long elements
* Specialized {@code Node.Builder} for long elements
*/
interface OfLong extends Node.Builder<Long>, Sink.OfLong {
@Override
Node.OfLong build();
}

/**
* Specialized @{code Node.Builder} for double elements
* Specialized {@code Node.Builder} for double elements
*/
interface OfDouble extends Node.Builder<Double>, Sink.OfDouble {
@Override
Expand Down
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/util/stream/Nodes.java
Expand Up @@ -170,7 +170,7 @@ static <T> Node.Builder<T> builder(long exactSizeIfKnown, IntFunction<T[]> gener
}

/**
* Produces a variable size @{link Node.Builder}.
* Produces a variable size {@link Node.Builder}.
*
* @param <T> the type of elements of the node builder
* @return a {@code Node.Builder}
Expand Down Expand Up @@ -208,7 +208,7 @@ static Node.Builder.OfInt intBuilder(long exactSizeIfKnown) {
}

/**
* Produces a variable size @{link Node.Builder.OfInt}.
* Produces a variable size {@link Node.Builder.OfInt}.
*
* @return a {@code Node.Builder.OfInt}
*/
Expand Down Expand Up @@ -245,7 +245,7 @@ static Node.Builder.OfLong longBuilder(long exactSizeIfKnown) {
}

/**
* Produces a variable size @{link Node.Builder.OfLong}.
* Produces a variable size {@link Node.Builder.OfLong}.
*
* @return a {@code Node.Builder.OfLong}
*/
Expand Down Expand Up @@ -282,7 +282,7 @@ static Node.Builder.OfDouble doubleBuilder(long exactSizeIfKnown) {
}

/**
* Produces a variable size @{link Node.Builder.OfDouble}.
* Produces a variable size {@link Node.Builder.OfDouble}.
*
* @return a {@code Node.Builder.OfDouble}
*/
Expand Down
Expand Up @@ -163,7 +163,7 @@ abstract class PipelineHelper<P_OUT> {
abstract<P_IN> Spliterator<P_OUT> wrapSpliterator(Spliterator<P_IN> spliterator);

/**
* Constructs a @{link Node.Builder} compatible with the output shape of
* Constructs a {@link Node.Builder} compatible with the output shape of
* this {@code PipelineHelper}.
*
* @param exactSizeIfKnown if >=0 then a builder will be created that has a
Expand Down
Expand Up @@ -626,7 +626,7 @@ boolean setPrompt() {
}

/**
* Set mode. Create, changed, or delete a feedback mode. For @{code /set
* Set mode. Create, changed, or delete a feedback mode. For {@code /set
* mode <mode> [<old-mode>] [-command|-quiet|-delete|-retain]}.
*
* @return true if successful
Expand Down
Expand Up @@ -36,7 +36,7 @@ private ClassFileFinder() { }
* classpath.
*
* @param name a classname
* @param classPath @{link File.pathSeparator} separated directories
* @param classPath {@link File.pathSeparator} separated directories
* @return an absolute path to the found classfile, or null if it cannot be
* found
*/
Expand Down
Expand Up @@ -26,7 +26,7 @@
import java.util.*;

/**
* This class accumulates test results. Test results can be checked with method @{code checkStatus}.
* This class accumulates test results. Test results can be checked with method {@code checkStatus}.
*/
public class TestResult extends TestBase {

Expand Down

1 comment on commit 652b5f8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.