Skip to content

Commit eff4979

Browse files
committed
Update MonetaryAmountFormatProviderSpi.java
Minor rephrase in JavaDoc
1 parent 4e1c4b2 commit eff4979

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

src/main/java/javax/money/spi/MonetaryAmountFormatProviderSpi.java

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* AGREEMENT CAREFULLY. BY DOWNLOADING THIS SPECIFICATION, YOU ACCEPT THE TERMS AND CONDITIONS OF
55
* THE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY IT, SELECT THE "DECLINE" BUTTON AT THE
66
* BOTTOM OF THIS PAGE. Specification: JSR-354 Money and Currency API ("Specification") Copyright
7-
* (c) 2012-2013, Credit Suisse All rights reserved.
7+
* (c) 2012-2015, Credit Suisse All rights reserved.
88
*/
99
package javax.money.spi;
1010

@@ -29,15 +29,15 @@ default String getProviderName(){
2929
return getClass().getSimpleName();
3030
}
3131

32-
/**
33-
* Create a new {@link MonetaryAmountFormat} for the given input.
34-
*
35-
* @param formatQuery
36-
* The {@link javax.money.format.AmountFormatContext} to be used.
37-
* @return An according {@link MonetaryAmountFormat} instance, or {@code null}, which delegates
38-
* the request to subsequent {@link MonetaryAmountFormatProviderSpi} instances
39-
* registered.
40-
*/
32+
/**
33+
* Create a new {@link MonetaryAmountFormat} for the given input.
34+
*
35+
* @param formatQuery
36+
* The {@link javax.money.format.AmountFormatContext} to be used.
37+
* @return An according {@link MonetaryAmountFormat} instance, or {@code null}, which delegates
38+
* the request to subsequent {@link MonetaryAmountFormatProviderSpi} instances
39+
* registered.
40+
*/
4141
Collection<MonetaryAmountFormat> getAmountFormats(AmountFormatQuery formatQuery);
4242

4343
/**
@@ -48,8 +48,7 @@ default String getProviderName(){
4848

4949
/**
5050
* Gets a list with available format names for this format provider.
51-
* @return list of available styles, never null.
51+
* @return list of available formats, never null.
5252
*/
5353
Set<String> getAvailableFormatNames();
54-
5554
}

0 commit comments

Comments
 (0)