changeset 12858:85ee3ed9a3dc

8075315: API doc of Currency.getInstance(Locale) method is incorrect. Summary: Updated API doc of Currency.getInstance(Locale)method. Reviewed-by: peytoia, naoto Contributed-by: rachna.goel@oracle.com
author naoto
date Thu, 08 Oct 2015 17:03:07 +0530
parents ecfc81a3741c
children 19e3e355d9f9 a1029a7e5efe
files src/java.base/share/classes/java/util/Currency.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/util/Currency.java	Wed Oct 07 15:22:43 2015 +0200
+++ b/src/java.base/share/classes/java/util/Currency.java	Thu Oct 08 17:03:07 2015 +0530
@@ -371,8 +371,8 @@
      * instance is needed
      * @return the <code>Currency</code> instance for the country of the given
      * locale, or {@code null}
-     * @exception NullPointerException if <code>locale</code> or its country
-     * code is {@code null}
+     * @exception NullPointerException if <code>locale</code>
+     * is {@code null}
      * @exception IllegalArgumentException if the country of the given {@code locale}
      * is not a supported ISO 3166 country code.
      */