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
--- 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.
*/