-
Notifications
You must be signed in to change notification settings - Fork 842
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
[NETBEANS-1969]:Fixed reindentation issues for Switch Rule-Case and S… #1124
Conversation
…witch Expression(JDK-12)
java/java.source.base/src/org/netbeans/modules/java/source/TreeShims.java
Outdated
Show resolved
Hide resolved
…on issue in Switch Expression/Switch Rule
break; | ||
case "SWITCH_EXPRESSION": { | ||
try { | ||
Class swExprTreeClass = Class.forName("com.sun.source.tree.SwitchExpressionTree"); |
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.
Please use "// NOI18N" comment for hard coded strings
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.
TreeShims is planned to be removed in future , so i believe // NOI18N" is not required
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.
Looks OK.
[NETBEANS-1969]:Fixed reindentation issues for Switch Rule-Case and S…
…witch Expression(JDK-12)
Jira Link :
https://issues.apache.org/jira/browse/NETBEANS-1969