예제 #1
0
 @Override
 public EconomyResponse deleteBank(String name) {
   boolean success = economy.removeBank(name);
   if (success) {
     return new EconomyResponse(0, 0, ResponseType.SUCCESS, "");
   }
   return new EconomyResponse(0, 0, ResponseType.FAILURE, "Unable to remove that bank account.");
 }
예제 #2
0
파일: BOSE.java 프로젝트: waffletastic/OKB3
 public boolean remove() {
   return BOSEconomy.removeBank(bank);
 }