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

Commit 181d74b

Browse files
committed
Fixed equals.
1 parent 5a9bd31 commit 181d74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/javamoney/moneta/DefaultExchangeRate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public boolean equals(Object obj) {
266266
}
267267
if (obj instanceof DefaultExchangeRate) {
268268
DefaultExchangeRate other = (DefaultExchangeRate) obj;
269-
return Objects.equals(base, other.base) && Objects.equals(chain, other.chain) &&
269+
return Objects.equals(base, other.base) &&
270270
Objects.equals(conversionContext, other.conversionContext) &&
271271
Objects.equals(factor, other.factor) && Objects.equals(term, other.term);
272272
}

0 commit comments

Comments
 (0)