Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Fixed compatibility issues between bp and Java 8 API.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsticks committed May 6, 2016
1 parent 17f18c7 commit 4e6bf86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/javamoney/moneta/RoundedMoney.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public final class RoundedMoney implements MonetaryAmount, Comparable<MonetaryAm
/**
* serialVersionUID.
*/
private static final long serialVersionUID = 366517590511294389L;
private static final long serialVersionUID = -6716367273185192901L;
/**
* The default {@link MonetaryContext} applied.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ MonetaryAmount to(ParserMonetaryAmount amount) {
}
};

private static final long serialVersionUID = 6606016328162974467L;
abstract MonetaryAmount to(ParserMonetaryAmount amount);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.javamoney.moneta.internal.convert.ECBCurrentRateProvider;
import org.javamoney.moneta.internal.convert.ECBHistoric90RateProvider;
import org.javamoney.moneta.internal.convert.ECBHistoricRateProvider;
//import org.javamoney.moneta.internal.convert.IMFHistoricRateProvider;
import org.javamoney.moneta.internal.convert.IMFRateProvider;
import org.javamoney.moneta.internal.convert.IdentityRateProvider;

Expand All @@ -36,6 +35,7 @@
* @since 1.0.1
*/
public enum ExchangeRateType implements ExchangeRateProviderSupplier {

/**
* Exchange rate to the European Central Bank. Uses the
* {@link ECBCurrentRateProvider} implementation.
Expand All @@ -48,7 +48,7 @@ public enum ExchangeRateType implements ExchangeRateProviderSupplier {
IMF("IMF", "Exchange rate to the International Monetary Fond."),
/**
* Exchange rate to the International Monetary Fond from historic. Uses the
* {@link IMFHistoricRateProvider} implementation.
* {@code IMFHistoricRateProvider} implementation.
*/
IMF_HIST("IMF-HIST", "Exchange rate to the International Monetary Fond that retrieve historical information on lazy way."),
/**
Expand All @@ -70,6 +70,8 @@ public enum ExchangeRateType implements ExchangeRateProviderSupplier {
"IDENT",
"Exchange rate rate with factor one for identical base/term currencies");

private static final long serialVersionUID = 7769702054407198263L;

private final String type;

private final String description;
Expand Down

0 comments on commit 4e6bf86

Please sign in to comment.