From d31445ca76c76f3c113c4746682afb5525c5c8ef Mon Sep 17 00:00:00 2001 From: sernamar Date: Fri, 6 Sep 2024 23:13:39 +0200 Subject: [PATCH] Fix typo in exception message for IMFRateProvider --- .../javamoney/moneta/convert/imf/IMFAbstractRateProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moneta-convert/moneta-convert-imf/src/main/java/org/javamoney/moneta/convert/imf/IMFAbstractRateProvider.java b/moneta-convert/moneta-convert-imf/src/main/java/org/javamoney/moneta/convert/imf/IMFAbstractRateProvider.java index 9d9cd035..86e6b86b 100644 --- a/moneta-convert/moneta-convert-imf/src/main/java/org/javamoney/moneta/convert/imf/IMFAbstractRateProvider.java +++ b/moneta-convert/moneta-convert-imf/src/main/java/org/javamoney/moneta/convert/imf/IMFAbstractRateProvider.java @@ -185,7 +185,7 @@ private ExchangeRate getExchangeRate(List rates,final LocalDate[] } } final String datesOnErrors = Stream.of(dates).map(date -> date.format(DateTimeFormatter.ISO_LOCAL_DATE)).collect(Collectors.joining(",")); - throw new MonetaryException("There is not exchange on day " + datesOnErrors + " to rate to rate on IFMRateProvider."); + throw new MonetaryException("There is not exchange on day " + datesOnErrors + " to rate to rate on IMFRateProvider."); } }