Commit 04744dc
Changed return type of race to void in TestTrack.java (exercism#2012)
* Changed return type of race to void
There's no indication in the examples that TestTrack.race returns anything.... and doesn't make sense given all the other possible return values given the set of other potential return variables all have type int.
* Change the return type in the exemplar as well
Co-authored-by: Jason Runkle <jmrunkle@gmail.com>1 parent e1d46b9 commit 04744dc
2 files changed
Lines changed: 2 additions & 4 deletions
File tree
- exercises/concept/remote-control-competition
- .meta/src/reference/java
- src/main/java
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments