Simplify EconomyResponse#transactionSuccess()

This commit is contained in:
Parker Hawke 2020-08-23 17:36:09 -04:00 committed by Morgan
parent af58e675c3
commit 9520d8847e

View File

@ -79,11 +79,6 @@ public class EconomyResponse {
* @return Value
*/
public boolean transactionSuccess() {
switch (type) {
case SUCCESS:
return true;
default:
return false;
}
return type == ResponseType.SUCCESS;
}
}
}