Skip to content

Commit cb4a85b

Browse files
committed
Updated POM to snapshot, JavaDoc refinement, mentioning exception that
may be thrown.
1 parent eff4979 commit cb4a85b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<artifactId>money-api</artifactId>
1616
<packaging>bundle</packaging>
1717

18-
<version>1.0</version>
18+
<version>1.0.1-SNAPSHOT</version>
1919

2020
<name>JSR 354 (Money and Currency API)</name>
2121
<url>http://java.net/projects/javamoney</url>

src/main/java/javax/money/format/MonetaryAmountFormat.java

Lines changed: 2 additions & 1 deletion
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.format;
1010

@@ -102,6 +102,7 @@ public interface MonetaryAmountFormat extends MonetaryQuery<String>{
102102
* @param amount the amount to format, not {@code null}
103103
* @return the string printed using the settings of this formatter
104104
* @throws UnsupportedOperationException if the formatter is unable to print
105+
* @throws IllegalStateException if an IO error occurs.
105106
*/
106107
default String format(MonetaryAmount amount){
107108
StringBuilder b = new StringBuilder();

0 commit comments

Comments
 (0)