Skip to content

Commit

Permalink
Fix NPE with needs confirmation flag
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex authored and mickaelistria committed Apr 26, 2024
1 parent f8e6b03 commit 1325303
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ public static void applyWorkspaceEdit(WorkspaceEdit wsEdit, String label) {

String name = label == null ? DEFAULT_LABEL : label;

if (wsEdit.getChangeAnnotations() != null && wsEdit.getChangeAnnotations().values().stream().anyMatch(ca -> ca.getNeedsConfirmation())) {
if (wsEdit.getChangeAnnotations() != null && wsEdit.getChangeAnnotations().values().stream().anyMatch(ca -> ca.getNeedsConfirmation() != null && ca.getNeedsConfirmation())) {
runRefactorWizardOperation(toCompositeChange(wsEdit, name));
} else {

Expand Down

0 comments on commit 1325303

Please sign in to comment.