mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-63611 - assert: JavaSharedImplUtil.normalizeBrackets
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ public class TypeMigrationProcessor extends BaseRefactoringProcessor {
|
||||
@Override
|
||||
public void performRefactoring(UsageInfo[] usages) {
|
||||
for (PsiElement element : myRoot) {
|
||||
if (element instanceof PsiVariable) {
|
||||
if (element instanceof PsiVariable && ((PsiVariable)element).getTypeElement() != null) {
|
||||
((PsiVariable)element).normalizeDeclaration();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user