-
-
Notifications
You must be signed in to change notification settings - Fork 737
#2133: Added UnsupportedOperationException PigLatinTranslator #2315
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you fix the formatting of this stub?
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| /* | ||
| import java.lang.String; | ||
| public class PigLatinTranslator { | ||
| public PigLatinTranslator() { | ||
| throw new UnsupportedOperationException("Please implement the PigLatinTranslator constructor."); | ||
| } | ||
|
|
||
| Since this exercise has a difficulty of > 4 it doesn't come | ||
| with any starter implementation. | ||
| This is so that you get to practice creating classes and methods | ||
| which is an important part of programming in Java. | ||
|
|
||
| Please remove this comment when submitting your solution. | ||
|
|
||
| */ | ||
| public String translate(String text) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would prefer the method parameter to be named |
||
| throw new UnsupportedOperationException("Please implement the PigLatinTranslator.translate method"); | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should no longer be needed, as the Gradle configuration was fixed in #2339