summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorehilsdal <ehilsdal>2003-08-28 16:43:42 +0000
committerehilsdal <ehilsdal>2003-08-28 16:43:42 +0000
commit02528df6c8f7a308b7f1bd7f624b0a2ba7e4fb79 (patch)
treede4abdf21b35a8f9fefc7d0215c49470826484b3 /docs
parentbb357e7c74ec5be0052bbc51761ade7c6ad4c5dc (diff)
downloadaspectj-02528df6c8f7a308b7f1bd7f624b0a2ba7e4fb79.tar.gz
aspectj-02528df6c8f7a308b7f1bd7f624b0a2ba7e4fb79.zip
in AspectJ 1.1, set jp's have void return type
Diffstat (limited to 'docs')
-rw-r--r--docs/teaching/exercises/answers/Answer2d.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/teaching/exercises/answers/Answer2d.java b/docs/teaching/exercises/answers/Answer2d.java
index 2d313134d..ffb013081 100644
--- a/docs/teaching/exercises/answers/Answer2d.java
+++ b/docs/teaching/exercises/answers/Answer2d.java
@@ -15,10 +15,10 @@ package answers;
import figures.*;
aspect Answer2d {
- int around(int val): (set(int Point._x) || set(int Point._y))
- && args(val) {
+ void around(int val): (set(int Point._x) || set(int Point._y))
+ && args(val) {
if (val < 0)
val = 0;
- return proceed(val);
+ proceed(val);
}
}