Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sivakumar00 committed Jun 28, 2018
1 parent 1d60884 commit 1be5dc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/java/com/easycurrency/EasyCurrency.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class EasyCurrency {
public static double convertCurrency(String from, String to) {

String API_ENDPOINT="https://free.currencyconverterapi.com/api/v5/convert?q=";
String reqString = from + "_" + to.toUpperCase();
String reqString = (from + "_" + to).toUpperCase();

HttpClient client = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(API_ENDPOINT + reqString + "&compact=ultra");
Expand Down

0 comments on commit 1be5dc1

Please sign in to comment.