8304989: unnecessary dash in @param gives double-dash in docs

Reviewed-by: lancea
This commit is contained in:
Jaikiran Pai 2023-03-28 12:02:27 +00:00
parent 395a4ce0dd
commit c90699eae7
3 changed files with 8 additions and 8 deletions

View file

@ -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
@ -129,9 +129,9 @@ public abstract class Enum<E extends Enum<E>>
* It is for use by code emitted by the compiler in response to
* enum class declarations.
*
* @param name - The name of this enum constant, which is the identifier
* @param name The name of this enum constant, which is the identifier
* used to declare it.
* @param ordinal - The ordinal of this enumeration constant (its position
* @param ordinal The ordinal of this enumeration constant (its position
* in the enum declaration, where the initial constant is assigned
* an ordinal of zero).
*/