From: ehilsdal Date: Thu, 28 Aug 2003 16:43:42 +0000 (+0000) Subject: in AspectJ 1.1, set jp's have void return type X-Git-Tag: V1_1_1~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=02528df6c8f7a308b7f1bd7f624b0a2ba7e4fb79;p=aspectj.git in AspectJ 1.1, set jp's have void return type --- 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); } }