diff options
author | ehilsdal <ehilsdal> | 2003-08-28 16:43:42 +0000 |
---|---|---|
committer | ehilsdal <ehilsdal> | 2003-08-28 16:43:42 +0000 |
commit | 02528df6c8f7a308b7f1bd7f624b0a2ba7e4fb79 (patch) | |
tree | de4abdf21b35a8f9fefc7d0215c49470826484b3 /docs | |
parent | bb357e7c74ec5be0052bbc51761ade7c6ad4c5dc (diff) | |
download | aspectj-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.java | 6 |
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); } } |