Skip to content

twelve-days: use instance methods [Fix #357] #405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 4, 2017

Conversation

FridaTveit
Copy link
Contributor

Fixes issue #357.

Copy link
Contributor

@jtigger jtigger left a comment

Choose a reason for hiding this comment

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

Looks great, Frida!

There's a super minor question about the example solution.

@@ -16,11 +16,11 @@
"twelve Drummers Drumming, "
};

public static String verse(int verseNumber) {
public String verse(int verseNumber) {
return constructVerse(verseNumber);
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason we wouldn't just inline constructVerse() here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I can change it :)

@jtigger jtigger self-assigned this Mar 29, 2017
@FridaTveit FridaTveit merged commit 5c8de88 into exercism:master Apr 4, 2017
@FridaTveit FridaTveit deleted the TwelveDaysUseInstanceMethod branch October 17, 2017 16:54
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