Skip to content
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

refactor(getter): Never throw an UnsupportedOpException in getter. #438

Merged
merged 1 commit into from
Dec 4, 2015
Merged

refactor(getter): Never throw an UnsupportedOpException in getter. #438

merged 1 commit into from
Dec 4, 2015

Conversation

GerardPaligot
Copy link
Contributor

Closes #436

@@ -145,7 +145,7 @@ public boolean removeThrownType(CtTypeReference throwType) {

@Override
public String getSimpleName() {
throw new UnsupportedOperationException("You can't have a name in a anonymous executable");
return "";
Copy link
Collaborator

Choose a reason for hiding this comment

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

could you add test to specify this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@monperrus monperrus merged commit 4e286e5 into INRIA:master Dec 4, 2015
@GerardPaligot GerardPaligot deleted the refactor_436 branch December 4, 2015 10:30
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