From b2e79bb83eb4baacabff45ae715ce39180392942 Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Fri, 9 Nov 2018 22:43:57 +0100 Subject: [PATCH] Fix typos --- src/main/java/javax/money/MonetaryAmount.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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);