Skip to content

(javax-money) Remove duplicated imports in MonetaryAmountDeserializer - #94

Closed
pjfanning wants to merge 1 commit into
FasterXML:3.xfrom
pjfanning:fix-javax-money-duplicate-imports
Closed

(javax-money) Remove duplicated imports in MonetaryAmountDeserializer#94
pjfanning wants to merge 1 commit into
FasterXML:3.xfrom
pjfanning:fix-javax-money-duplicate-imports

Conversation

@pjfanning

Copy link
Copy Markdown
Member

Tidy-up only, no functional change.

MonetaryAmountDeserializer imports the same two types twice, in adjacent blocks:

import javax.money.CurrencyUnit;
import javax.money.MonetaryAmount;

import javax.money.CurrencyUnit;
import javax.money.MonetaryAmount;

Legal Java, but noise. Drops the second pair.

javax-money and moneta suites both green.

`javax.money.CurrencyUnit` and `javax.money.MonetaryAmount` are each imported
twice, in two adjacent blocks. Legal Java, but noise; drop the second pair.

No functional change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pjfanning

Copy link
Copy Markdown
Member Author

Closing as redundant: this cleanup is already included in #91, alongside the NPE fix in the same file.

@pjfanning pjfanning closed this Sep 9, 2026
@pjfanning
pjfanning deleted the fix-javax-money-duplicate-imports branch September 9, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant