BAEL-19967: Migrate spring-aop module to the com.baeldung package

This commit is contained in:
Krzysiek
2019-12-17 21:23:11 +01:00
parent b714494edc
commit f910c16f11
29 changed files with 159 additions and 159 deletions

View File

@@ -0,0 +1,13 @@
package com.baeldung.aspectj;
public class Account {
int balance = 20;
public boolean withdraw(int amount) {
if (balance < amount) {
return false;
}
balance = balance - amount;
return true;
}
}