Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix uninitialized target field in RenameElementProcessor2 #3132
The target field in RenameElementProcessor2 is not initialized, since it is shadowed by a local variable in initialize(IRenameElementContext). As a result, the target passed to IRenameNameValidator.validate(...) in validateNewName(String) is always null. This commit removes the local variable, so that the field is properly initialized instead. Signed-off-by: Martin Jobst <[email protected]>
- Loading branch information