Skip to content

Commit d4e1cc1

Browse files
committed
Fix return Javadoc of CurrencyQuery
The return Javadoc of the CurrencyQuery methods getCurrencyCodes and getNumericCodes is wrong. It was likely copy and pasted from CurrencyQueryBuilder.
1 parent 49a7ae4 commit d4e1cc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/javax/money/CurrencyQuery.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public Collection<Locale> getCountries() {
8181
/**
8282
* Gets the currency codes, or the regular expression to select codes.
8383
*
84-
* @return the query for chaining.
84+
* @return the target currency codes or the regular expression, never null.
8585
*/
8686
public Collection<String> getCurrencyCodes() {
8787
Collection<String> result = get(KEY_QUERY_CURRENCY_CODES, Collection.class);
@@ -94,7 +94,7 @@ public Collection<String> getCurrencyCodes() {
9494
/**
9595
* Gets the numeric codes. Setting it to -1 search for currencies that have no numeric code.
9696
*
97-
* @return the query for chaining.
97+
* @return the target numeric codes, never null.
9898
*/
9999
public Collection<Integer> getNumericCodes() {
100100
Collection<Integer> result = get(KEY_QUERY_NUMERIC_CODES, Collection.class);

0 commit comments

Comments
 (0)