Skip to content

Commit 5352882

Browse files
committed
Updated JavaDoc (#99)
1 parent 6cf6d07 commit 5352882

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/javax/money/MonetaryAmount.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
*
9797
* @author Anatole Tresch
9898
* @author Werner Keil
99-
* @version 0.8.2
99+
* @version 1.0.0
100100
* @see #with(MonetaryOperator)
101101
*/
102102
public interface MonetaryAmount extends CurrencySupplier, NumberSupplier, Comparable<MonetaryAmount>{
@@ -587,6 +587,9 @@ default boolean isZero(){
587587
* Returns a {@code MonetaryAmount} whose value is <code>+this</code>, with rounding according to
588588
* the context settings.
589589
*
590+
* <p>This method, which simply returns this {@code MonetaryAmount}
591+
* is included for symmetry with the unary minus method {@link #negate()}.
592+
*
590593
* @return {@code this}, rounded as necessary. A zero result will have a scale of 0.
591594
* @throws ArithmeticException if rounding fails.
592595
* @see java.math.BigDecimal#plus()

0 commit comments

Comments
 (0)