Skip to content

Commit

Permalink
Merge pull request #3133 from mx990/fixRenameElementProcessor2Target
Browse files Browse the repository at this point in the history
Fix uninitialized target field in RenameElementProcessor2
  • Loading branch information
cdietrich authored Aug 14, 2024
2 parents cb9fb54 + e116332 commit f5f3da6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public boolean initialize(IRenameElementContext renameElementContext) {
}

resourceSet = resourceSetProvider.get(project);
EObject target = resourceSet.getEObject(renameElementContext.getTargetElementURI(), true);
target = resourceSet.getEObject(renameElementContext.getTargetElementURI(), true);
if (target == null) {
status.add(RefactoringIssueAcceptor.Severity.ERROR, "Rename target does not exist", renameElementContext.getTargetElementURI());
} else {
Expand Down

0 comments on commit f5f3da6

Please sign in to comment.