summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
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);
}
}