chore: Formatting fixes
This commit is contained in:
parent
94dd43c138
commit
4fcc395a61
3 changed files with 16 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
||||||
package eu.ztsh.wymiana.exception;
|
package eu.ztsh.wymiana.exception;
|
||||||
|
|
||||||
public class ExchangeFailedException extends RuntimeException{
|
public class ExchangeFailedException extends RuntimeException {
|
||||||
|
|
||||||
public ExchangeFailedException() {
|
public ExchangeFailedException() {
|
||||||
this("An exchange error has occurred");
|
this("An exchange error has occurred");
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class CurrencyService {
|
||||||
}
|
}
|
||||||
|
|
||||||
private Currency create(String symbol) {
|
private Currency create(String symbol) {
|
||||||
// TODO: check if supported
|
// TODO: check if supported - now limited to PLN <-> USD
|
||||||
return new Currency(symbol.toUpperCase(), 0D);
|
return new Currency(symbol.toUpperCase(), 0D);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue