You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/06/26 09:27:44 UTC
[GitHub] [netbeans] arusinha commented on a change in pull request #1323:
[NETBEANS-2745]:Fixed Convert Switch to Switch-Expression hint for default
case without break
arusinha commented on a change in pull request #1323: [NETBEANS-2745]:Fixed Convert Switch to Switch-Expression hint for default case without break
URL: https://github.com/apache/netbeans/pull/1323#discussion_r297567930
##########
File path: java/java.hints/src/org/netbeans/modules/java/hints/errors/Utilities.java
##########
@@ -3114,16 +3114,30 @@ public Void visitClass(ClassTree node, Void p) {
public static boolean isCompatibleWithSwitchExpression(SwitchTree st) {
boolean firstCase = true;
Name leftTreeName = null;
- for (CaseTree ct : st.getCases()) {
+ int CaseCount =0;
Review comment:
corrected in last commit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists