Skip to content

Commit

Permalink
green
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Jun 10, 2013
1 parent 6d73494 commit 038e9c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file modified BankAccountDay05/bin/main/BankAccount.class
Binary file not shown.
Binary file modified BankAccountDay05/bin/test/BankAccountTest.class
Binary file not shown.
8 changes: 5 additions & 3 deletions BankAccountDay05/src/main/BankAccount.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ private static BankAccountDTO createAccount(String accountNumber) {
return account;
}

public static void dotransaction(BankAccountDTO accountDTO, float amount, String description) {
// TODO Auto-generated method stub

public static BankAccountDTO dotransaction(BankAccountDTO accountDTO, float amount, String description) {
accountDTO.setBalance(accountDTO.getBalance() + amount);
accountDTO.setDescription(description);
mockBankAccountDAO.save(accountDTO);
return accountDTO;
}

}

0 comments on commit 038e9c6

Please sign in to comment.