Adding Currency Convertor example#3307
Adding Currency Convertor example#3307DEVANSH-GAJJAR wants to merge 2 commits intoiluwatar:masterfrom
Conversation
PR SummaryIntroduces a Java-based Currency Converter example that fetches live exchange rates from an external API and applies them to a user-specified quantity. This example demonstrates a console-based workflow and includes a Maven project setup with dependencies for HTTP requests and JSON parsing, plus a minimal entry point class. Changes
autogenerated by presubmit.ai |
There was a problem hiding this comment.
✅ LGTM!
Review Summary
Commits Considered (1)
- a38bb65: Adding Currency Convertor example
Files Processed (4)
- currency-convertor/currency-convertor/.gitignore (1 hunk)
- currency-convertor/currency-convertor/pom.xml (1 hunk)
- currency-convertor/currency-convertor/src/main/java/com/currencyconvertor.java (1 hunk)
- currency-convertor/currency-convertor/src/main/java/org/example/Main.java (1 hunk)
Actionable Comments (0)
Skipped Comments (0)
|
|
Hi there , |
|
This PR is stale because it has been open 60 days with no activity. |
|
Hi maintainers, |
|
Hi there , just a gentle ping in case this PR is still relevant. Happy to make any changes if needed. Thanks! |
|
This PR is stale because it has been open 60 days with no activity. |
There was a problem hiding this comment.
✅ LGTM!
Review Summary
Commits Considered (1)
- 820e3f1: Merge branch 'master' into feature/currency-convertor
Files Processed (0)
Actionable Comments (0)
Skipped Comments (0)
|



Pull Request Template
What does this PR do?
This PR adds a new example implementation of the Currency Converter design pattern in Java.
The example demonstrates a basic currency conversion utility that converts between multiple currencies using fixed exchange rates.
It showcases the application of the Strategy pattern by allowing different conversion strategies to be swapped easily.
This helps learners understand how to decouple conversion logic and improve flexibility in financial applications.