mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-09-27 22:57:41 +02:00
Simplify EconomyResponse#transactionSuccess()
This commit is contained in:
parent
af58e675c3
commit
9520d8847e
@ -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