# HG changeset patch # User naoto # Date 1444303987 -19800 # Node ID 7616af8ec145d56fb5f228f99f44818630e8d7e9 # Parent 7e1bb9268b8af979c6ccd51b165ef600b7dfc8db 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 diff -r 7e1bb9268b8a -r 7616af8ec145 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 Currency instance for the country of the given * locale, or {@code null} - * @exception NullPointerException if locale or its country - * code is {@code null} + * @exception NullPointerException if locale + * is {@code null} * @exception IllegalArgumentException if the country of the given {@code locale} * is not a supported ISO 3166 country code. */