Add default hint for switch pattern matching error#3440
Closed
mishrasandeep wants to merge 2 commits intoapache:masterfrom
Closed
Add default hint for switch pattern matching error#3440mishrasandeep wants to merge 2 commits intoapache:masterfrom
mishrasandeep wants to merge 2 commits intoapache:masterfrom
Conversation
Member
|
what shall we do with this PR? Hasn't changed since it was set to draft. |
mbien
added a commit
to mbien/netbeans
that referenced
this pull request
Sep 25, 2025
Hint triggers on the javac error code and offers to append a default case to the switch block. commit notes: - originally based on an old draft PR (apache#3440) from Sandeep Mishra - finished the impl and aligned the code to the changed codebase (e.g TreeShims is no more) - added tests Co-Authored-By: mishrasandeep <sandeep.s.mishra@oracle.com>
mbien
added a commit
to mbien/netbeans
that referenced
this pull request
Sep 25, 2025
Hint triggers on the javac error code and offers to append a default case to the switch block. commit notes: - originally based on an old draft PR (apache#3440) from Sandeep Mishra - finished the impl and aligned the code to the changed codebase (e.g TreeShims is no more) - added tests Co-Authored-By: mishrasandeep <sandeep.s.mishra@oracle.com>
mbien
added a commit
to mbien/netbeans
that referenced
this pull request
Sep 25, 2025
Hint triggers on the javac error code and offers to append a default case to the switch block. commit notes: - originally based on an old draft PR (apache#3440) from Sandeep Mishra - finished the impl and aligned the code to the changed codebase (e.g TreeShims is no more) - added tests Co-Authored-By: mishrasandeep <sandeep.s.mishra@oracle.com>
mbien
added a commit
to mbien/netbeans
that referenced
this pull request
Sep 25, 2025
Hint triggers on the javac error code and offers to append a default case to the switch block. other changes: - checked all JavaFix impls for TreePath access without TreePathHandle - removed some redundant code from tests extending ErrorHintsTestBase commit notes: - originally based on an old draft PR (apache#3440) from Sandeep Mishra - finished the impl and aligned the code to the changed codebase (e.g TreeShims is no more) - added tests Co-Authored-By: mishrasandeep <sandeep.s.mishra@oracle.com>
mbien
added a commit
to mbien/netbeans
that referenced
this pull request
Oct 1, 2025
Hint triggers on the javac error code and offers to append a default case to the switch block. other changes: - checked all JavaFix impls for TreePath access without TreePathHandle - removed some redundant code from tests extending ErrorHintsTestBase commit notes: - originally based on an old draft PR (apache#3440) from Sandeep Mishra - finished the impl and aligned the code to the changed codebase (e.g TreeShims is no more) - added tests Co-Authored-By: mishrasandeep <sandeep.s.mishra@oracle.com>
homberghp
pushed a commit
to homberghp/netbeans
that referenced
this pull request
Oct 23, 2025
Hint triggers on the javac error code and offers to append a default case to the switch block. other changes: - checked all JavaFix impls for TreePath access without TreePathHandle - removed some redundant code from tests extending ErrorHintsTestBase commit notes: - originally based on an old draft PR (apache#3440) from Sandeep Mishra - finished the impl and aligned the code to the changed codebase (e.g TreeShims is no more) - added tests Co-Authored-By: mishrasandeep <sandeep.s.mishra@oracle.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/NETBEANS-6380