8303350: Fix mistyped {@code}

Reviewed-by: jpai
This commit is contained in:
Pavel Rappo 2023-02-28 15:40:05 +00:00
parent 4a415ad584
commit dc5ea6aeb5
3 changed files with 6 additions and 6 deletions
src
java.base/share/classes/jdk/internal/util/random
jdk.compiler/share/classes/com/sun/tools/javac

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2023, 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
@ -2081,7 +2081,7 @@ public class RandomSupport {
/* ---------------- public methods ---------------- */
/**
* Implements the @code{split()} method as
* Implements the {@code split()} method as
* {@link SplittableGenerator#split(SplittableGenerator) split}(this).
*
* @return the new {@link SplittableGenerator} instance

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2023, 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
@ -3723,7 +3723,7 @@ public class Types {
}
/**
* Collect types into a new closure (using a @code{ClosureHolder})
* Collect types into a new closure (using a {@code ClosureHolder})
*/
public Collector<Type, ClosureHolder, List<Type>> closureCollector(boolean minClosure, BiPredicate<Type, Type> shouldSkip) {
return Collector.of(() -> new ClosureHolder(minClosure, shouldSkip),

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2023, 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
@ -553,7 +553,7 @@ public class List<A> extends AbstractCollection<A> implements java.util.List<A>
}
/**
* Collect elements into a new list (using a @code{ListBuffer})
* Collect elements into a new list (using a {@code ListBuffer})
*/
public static <Z> Collector<Z, ListBuffer<Z>, List<Z>> collector() {
return Collector.of(ListBuffer::new,