summaryrefslogtreecommitdiffstats
path: root/docs/teaching/exercises/answers/Answer3a.java
diff options
context:
space:
mode:
Diffstat (limited to 'docs/teaching/exercises/answers/Answer3a.java')
-rw-r--r--docs/teaching/exercises/answers/Answer3a.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/teaching/exercises/answers/Answer3a.java b/docs/teaching/exercises/answers/Answer3a.java
index fc5e1d3f7..3bbfb1e98 100644
--- a/docs/teaching/exercises/answers/Answer3a.java
+++ b/docs/teaching/exercises/answers/Answer3a.java
@@ -14,10 +14,8 @@ package answers;
import support.Log;
-import figures.Point;
-
aspect Answer3a {
- before(): execution(void Point.move(int, int)) {
- Log.log("moving");
+ before(): execution(public * *(..)) && within(figures.*) {
+ Log.log(thisJoinPoint.toString());
}
}