diff --git a/src/main/java/javax/money/MonetaryAmount.java b/src/main/java/javax/money/MonetaryAmount.java index 3ecf81cb..5214598b 100644 --- a/src/main/java/javax/money/MonetaryAmount.java +++ b/src/main/java/javax/money/MonetaryAmount.java @@ -186,7 +186,7 @@ default MonetaryAmount with(MonetaryOperator operator){ * * @param amount the {@code MonetaryAmount} to be compared with this instance. * @return {@code true} if {@code amount > this}. - * @throws MonetaryException if the amount's currency is not equals to the currency of this instance. + * @throws MonetaryException if the amount's currency is not equal to the currency of this instance. */ boolean isGreaterThan(MonetaryAmount amount); @@ -196,7 +196,7 @@ default MonetaryAmount with(MonetaryOperator operator){ * * @param amount the {@link MonetaryAmount} to be compared with this instance. * @return {@code true} if {@code amount >= this}. - * @throws MonetaryException if the amount's currency is not equals to the currency of this instance. + * @throws MonetaryException if the amount's currency is not equal to the currency of this instance. */ boolean isGreaterThanOrEqualTo(MonetaryAmount amount); @@ -206,7 +206,7 @@ default MonetaryAmount with(MonetaryOperator operator){ * * @param amount the {@link MonetaryAmount} to be compared with this instance. * @return {@code true} if {@code amount < this}. - * @throws MonetaryException if the amount's currency is not equals to the currency of this instance. + * @throws MonetaryException if the amount's currency is not equal to the currency of this instance. */ boolean isLessThan(MonetaryAmount amount); @@ -216,7 +216,7 @@ default MonetaryAmount with(MonetaryOperator operator){ * * @param amt the {@link MonetaryAmount} to be compared with this instance. * @return {@code true} if {@code amount <= this}. - * @throws MonetaryException if the amount's currency is not equals to the currency of this instance. + * @throws MonetaryException if the amount's currency is not equal to the currency of this instance. */ boolean isLessThanOrEqualTo(MonetaryAmount amt); @@ -226,7 +226,7 @@ default MonetaryAmount with(MonetaryOperator operator){ * * @param amount the {@link MonetaryAmount} to be compared with this instance. * @return {@code true} if {@code amount == this}. - * @throws MonetaryException if the amount's currency is not equals to the currency of this instance. + * @throws MonetaryException if the amount's currency is not equal to the currency of this instance. */ boolean isEqualTo(MonetaryAmount amount);