mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-25 07:10:48 -04:00
Remove unused methods
This commit is contained in:
parent
398a729a83
commit
1f362d80a2
33 changed files with 26 additions and 175 deletions
|
@ -94,6 +94,7 @@ class ClosedTradesViewModel extends ActivatableWithDataModel<ClosedTradesDataMod
|
|||
}
|
||||
else {
|
||||
log.error("That must not happen. We got a pending state but we are in the closed trades list.");
|
||||
return tradeState.toString();
|
||||
}
|
||||
}
|
||||
else if (trade instanceof SellerTrade) {
|
||||
|
@ -105,6 +106,7 @@ class ClosedTradesViewModel extends ActivatableWithDataModel<ClosedTradesDataMod
|
|||
}
|
||||
else {
|
||||
log.error("That must not happen. We got a pending state but we are in the closed trades list.");
|
||||
return tradeState.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,8 @@ class FailedTradesViewModel extends ActivatableWithDataModel<FailedTradesDataMod
|
|||
return "Failed";
|
||||
}
|
||||
else {
|
||||
log.error("Wrong state " + item.getTrade().tradeStateProperty().get());
|
||||
log.error("Wrong state " + tradeState);
|
||||
return tradeState.toString();
|
||||
}
|
||||
}
|
||||
else if (trade instanceof SellerTrade) {
|
||||
|
@ -96,7 +97,8 @@ class FailedTradesViewModel extends ActivatableWithDataModel<FailedTradesDataMod
|
|||
return "Failed";
|
||||
}
|
||||
else {
|
||||
log.error("Wrong state " + item.getTrade().tradeStateProperty().get());
|
||||
log.error("Wrong state " + tradeState);
|
||||
return tradeState.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue