Simplify EconomyResponse#transactionSuccess()

This commit is contained in:
Parker Hawke 2020-08-23 17:36:09 -04:00 committed by GitHub
parent ea40092989
commit a88b9f8cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions

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;
}
}
}