-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
fix: fix Problems with javadoc parameters @exception and others #3035
Conversation
@@ -50,7 +50,7 @@ | |||
private String keyword; | |||
|
|||
boolean hasName() { | |||
return this == PARAM || this == THROWS; | |||
return this == PARAM || this == THROWS || this == EXCEPTION; |
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.
we have code duplication here. What about refactoring to have a single implementation?
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.
Yes, I've just been writing about it. It would be useful for #3033 issue too.
Thanks a lot for the refactoring. In Spoon, we are super careful with backward compatibility (unless it's in an "internal" package), what do you think of moving code of new |
Sure, you're right. |
Cool, thanks! |
Thanks a lot Egor. |
fix #3033
fix #3034