Skip to content

Commit 787832a

Browse files
committed
8304988: unnecessary dash in @param gives double-dash in docs
Reviewed-by: alanb, cjplummer
1 parent a144c71 commit 787832a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/java.management/share/classes/javax/management/relation/RoleUnresolvedList.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2023, 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
@@ -151,7 +151,7 @@ public List<RoleUnresolved> asList() {
151151
/**
152152
* Adds the RoleUnresolved specified as the last element of the list.
153153
*
154-
* @param role - the unresolved role to be added.
154+
* @param role the unresolved role to be added.
155155
*
156156
* @exception IllegalArgumentException if the unresolved role is null.
157157
*/
@@ -171,9 +171,9 @@ public void add(RoleUnresolved role)
171171
* Elements with an index greater than or equal to the current position are
172172
* shifted up.
173173
*
174-
* @param index - The position in the list where the new
174+
* @param index The position in the list where the new
175175
* RoleUnresolved object is to be inserted.
176-
* @param role - The RoleUnresolved object to be inserted.
176+
* @param role The RoleUnresolved object to be inserted.
177177
*
178178
* @exception IllegalArgumentException if the unresolved role is null.
179179
* @exception IndexOutOfBoundsException if index is out of range
@@ -197,8 +197,8 @@ public void add(int index,
197197
* specified.
198198
* The previous element at that position is discarded.
199199
*
200-
* @param index - The position specified.
201-
* @param role - The value to which the unresolved role element
200+
* @param index The position specified.
201+
* @param role The value to which the unresolved role element
202202
* should be set.
203203
*
204204
* @exception IllegalArgumentException if the unresolved role is null.
@@ -223,7 +223,7 @@ public void set(int index,
223223
* of the list, in the order in which they are returned by the Iterator of
224224
* the RoleUnresolvedList specified.
225225
*
226-
* @param roleList - Elements to be inserted into the list
226+
* @param roleList Elements to be inserted into the list
227227
* (can be null).
228228
*
229229
* @return true if this list changed as a result of the call.
@@ -246,9 +246,9 @@ public boolean addAll(RoleUnresolvedList roleList)
246246
* this list, starting at the specified position, in the order in which
247247
* they are returned by the Iterator of the RoleUnresolvedList specified.
248248
*
249-
* @param index - Position at which to insert the first element from the
249+
* @param index Position at which to insert the first element from the
250250
* RoleUnresolvedList specified.
251-
* @param roleList - Elements to be inserted into the list.
251+
* @param roleList Elements to be inserted into the list.
252252
*
253253
* @return true if this list changed as a result of the call.
254254
*

0 commit comments

Comments
 (0)