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 2022/05/09 07:07:01 UTC
[GitHub] [netbeans] mishrasandeep commented on a diff in pull request #3343: [NETBEANS-6241] - Fixed switchToRuleSwitch Hint for BindingPattern and GuardedPattern
mishrasandeep commented on code in PR #3343:
URL: https://github.com/apache/netbeans/pull/3343#discussion_r867696356
##########
java/java.hints/src/org/netbeans/modules/java/hints/errors/Utilities.java:
##########
@@ -3196,7 +3198,7 @@ public static void performRewriteRuleSwitch(JavaFix.TransformationContext ctx, T
for (Iterator<? extends CaseTree> it = cases.iterator(); it.hasNext();) {
CaseTree ct = it.next();
TreePath casePath = new TreePath(tp, ct);
- patterns.addAll(ct.getLabels());
+ patterns.addAll(ct.getLabels());
Review Comment:
Thanks for the input. Have made the changes.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
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