mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-09-27 14:53:01 +02:00
Simplify EconomyResponse#transactionSuccess()
This commit is contained in:
parent
ea40092989
commit
a88b9f8cda
@ -79,11 +79,6 @@ public class EconomyResponse {
|
|||||||
* @return Value
|
* @return Value
|
||||||
*/
|
*/
|
||||||
public boolean transactionSuccess() {
|
public boolean transactionSuccess() {
|
||||||
switch (type) {
|
return type == ResponseType.SUCCESS;
|
||||||
case SUCCESS:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user