Skip to content

Changed return type of race to void in TestTrack.java#2012

Merged
jmrunkle merged 3 commits into
exercism:mainfrom
cjwomack:main
Sep 15, 2021
Merged

Changed return type of race to void in TestTrack.java#2012
jmrunkle merged 3 commits into
exercism:mainfrom
cjwomack:main

Conversation

@cjwomack
Copy link
Copy Markdown
Contributor

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.

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.
Copy link
Copy Markdown
Contributor

@jmrunkle jmrunkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmrunkle
Copy link
Copy Markdown
Contributor

For the record, I am planning to do a little re-visiting of this exercise to improve the instructions and a few other things to improve this exercise.

@jmrunkle jmrunkle merged commit 04744dc into exercism:main Sep 15, 2021
kkyb123 pushed a commit to kkyb123/java that referenced this pull request Sep 24, 2021
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants