mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
check if valid
This commit is contained in:
+1
@@ -177,6 +177,7 @@ public class VariableInplaceIntroducer extends VariableInplaceRenamer {
|
||||
if (psiVariable == null) {
|
||||
return;
|
||||
}
|
||||
LOG.assertTrue(psiVariable.isValid());
|
||||
saveSettings(psiVariable);
|
||||
adjustLine(psiVariable, document);
|
||||
int startOffset = myExprMarker != null && myExprMarker.isValid() ? myExprMarker.getStartOffset() : psiVariable.getTextOffset();
|
||||
|
||||
Reference in New Issue
Block a user