Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
You're right there is something weird: I always thought that this import was necessary, I solved troubles sometimes by adding it, but in the meantime I saw implementations working without it. So... I dunno... :-/
@B4B.
On the contrary. I notice everything! My habit is to remove all imports that seem to be redundant so I saw this one, and removed it. I never had this problem before, so why now? I'm sure I've removed the same import from other Java Katas and nobody mentioned it before... I can remove it in the Kata editor and everything works fine with it commented out for me. (??)
resolve what? The issue? I did! ;)
Works perfectly fine in java, on my side. Close the issue.
Oops, I didn't see this one. Corrected. Should be good, now.
rename howmanyBees > howManyBees
Hi DM!
This is needed so that CW can run/import the Junit test module. It is always present in the prefilled code, between others, so you never noticed it, but this time, you paste your full code from your IDE in replacement (I suppose) so it was lacking this line. I had the problem not so long ago, doing some translations.
Cheers!
Hi B4B. Can you explain or reference me why that is needed. I don't think I ever imported it for other Kata either.. :-|
this line was missing :
import org.junit.runners.JUnit4;
I tried to update the kata, but CW's server has some issue on is side, for now. Just had this line, it will make the same tests work. But you'll have to wait for a correction to pass the test cases (same problem there)
EDIT: corrected