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;
|
||||
|
||||
public class ExchangeFailedException extends RuntimeException{
|
||||
public class ExchangeFailedException extends RuntimeException {
|
||||
|
||||
public ExchangeFailedException() {
|
||||
this("An exchange error has occurred");
|
||||
|
|
|
@ -53,7 +53,7 @@ public class CurrencyService {
|
|||
}
|
||||
|
||||
private Currency create(String symbol) {
|
||||
// TODO: check if supported
|
||||
// TODO: check if supported - now limited to PLN <-> USD
|
||||
return new Currency(symbol.toUpperCase(), 0D);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue