8075315: API doc of Currency.getInstance(Locale) method is incorrect.
authornaoto
Thu, 08 Oct 2015 17:03:07 +0530
changeset 32930 7616af8ec145
parent 32929 7e1bb9268b8a
child 32931 2ba4f06f8684
child 33262 65de268ae879
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
jdk/src/java.base/share/classes/java/util/Currency.java
--- a/jdk/src/java.base/share/classes/java/util/Currency.java	Wed Oct 07 15:22:43 2015 +0200
+++ b/jdk/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.
      */