Skip to content

Conversation

@mnyon-grandkru
Copy link

Added a constructor and a translate() method that raise UnsupportedOperationExceptions, as mentioned in issue #2133.

Also added code to remove gradle warning as specified with this Stack Overflow post.


Reviewer Resources:

Track Policies

Copy link
Contributor

@sanderploegsma sanderploegsma left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! If you could address these comments I'd be happy to approve your PR.

Comment on lines +25 to +28

tasks.named("compileTestJava").configure {
dependsOn("copyTestsFilteringIgnores")
}
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you fix the formatting of this stub?

  • Make sure the import section and the class definition is separated by a new line
  • Make sure the file ends with a final new line

Please remove this comment when submitting your solution.
*/
public String translate(String text) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer the method parameter to be named sentence like in the example implementation. It gives the student a small hint in terms of what to expect in terms of input.

@sanderploegsma
Copy link
Contributor

Oh in fact, I just noticed this PR is now obsolete, as it was already added in #2326, sorry!

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