changeset 56468:5c85b58e2a42

8228971: Locale API doc has redundant hyphens for some parameters Reviewed-by: lancea Contributed-by: Patrick Concannon <patrick.concannon@oracle.com>
author naoto
date Wed, 07 Aug 2019 08:42:14 -0700
parents abc630225460
children b948b920e29f 8b104d8b27fd
files src/java.base/share/classes/java/util/Locale.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/util/Locale.java	Mon Jul 22 10:48:14 2019 +0200
+++ b/src/java.base/share/classes/java/util/Locale.java	Wed Aug 07 08:42:14 2019 -0700
@@ -929,7 +929,7 @@
      * if no locale is explicitly specified. It can be changed using the
      * setDefault(Locale.Category, Locale) method.
      *
-     * @param category - the specified category to get the default locale
+     * @param category the specified category to get the default locale
      * @throws NullPointerException if category is null
      * @return the default locale for the specified Category for this instance
      *     of the Java Virtual Machine
@@ -1075,8 +1075,8 @@
      * prepared to reinitialize locale-sensitive code running within the
      * same Java Virtual Machine.
      *
-     * @param category - the specified category to set the default locale
-     * @param newLocale - the new default locale
+     * @param category the specified category to set the default locale
+     * @param newLocale the new default locale
      * @throws SecurityException if a security manager exists and its
      *     checkPermission method doesn't allow the operation.
      * @throws NullPointerException if category and/or newLocale is null