mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8231859: Extra dash after the exception name in @throws clause of javadoc
Reviewed-by: weijun
This commit is contained in:
parent
60f7a49958
commit
463d6e9640
7 changed files with 13 additions and 13 deletions
|
@ -178,10 +178,10 @@ final class AllPermissionCollection
|
|||
*
|
||||
* @param permission the Permission object to add.
|
||||
*
|
||||
* @throws IllegalArgumentException - if the permission is not a
|
||||
* @throws IllegalArgumentException if the permission is not an
|
||||
* AllPermission
|
||||
*
|
||||
* @throws SecurityException - if this AllPermissionCollection object
|
||||
* @throws SecurityException if this AllPermissionCollection object
|
||||
* has been marked readonly
|
||||
*/
|
||||
|
||||
|
|
|
@ -349,13 +349,13 @@ final class BasicPermissionCollection
|
|||
*
|
||||
* @param permission the Permission object to add.
|
||||
*
|
||||
* @throws IllegalArgumentException - if the permission is not a
|
||||
* @throws IllegalArgumentException if the permission is not a
|
||||
* BasicPermission, or if
|
||||
* the permission is not of the
|
||||
* same Class as the other
|
||||
* permissions in this collection.
|
||||
*
|
||||
* @throws SecurityException - if this BasicPermissionCollection object
|
||||
* @throws SecurityException if this BasicPermissionCollection object
|
||||
* has been marked readonly
|
||||
*/
|
||||
@Override
|
||||
|
|
|
@ -107,9 +107,9 @@ public abstract class PermissionCollection implements java.io.Serializable {
|
|||
*
|
||||
* @param permission the Permission object to add.
|
||||
*
|
||||
* @throws SecurityException - if this PermissionCollection object
|
||||
* @throws SecurityException if this PermissionCollection object
|
||||
* has been marked readonly
|
||||
* @throws IllegalArgumentException - if this PermissionCollection
|
||||
* @throws IllegalArgumentException if this PermissionCollection
|
||||
* object is a homogeneous collection and the permission
|
||||
* is not of the correct type.
|
||||
*/
|
||||
|
|
|
@ -837,7 +837,7 @@ public abstract class Policy {
|
|||
*
|
||||
* @param permission the Permission object to add.
|
||||
*
|
||||
* @throws SecurityException - if this PermissionCollection object
|
||||
* @throws SecurityException if this PermissionCollection object
|
||||
* has been marked readonly
|
||||
*/
|
||||
@Override public void add(Permission permission) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue