mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logging for EA-72062 - assert: ConvertToInstanceMethodDialog.doAction
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ public class ConvertToInstanceMethodDialog extends MoveInstanceMethodDialogBase
|
||||
|
||||
protected void doAction() {
|
||||
final PsiVariable targetVariable = (PsiVariable)myList.getSelectedValue();
|
||||
LOG.assertTrue(targetVariable instanceof PsiParameter);
|
||||
LOG.assertTrue(targetVariable instanceof PsiParameter, targetVariable);
|
||||
final ConvertToInstanceMethodProcessor processor = new ConvertToInstanceMethodProcessor(myMethod.getProject(),
|
||||
myMethod, (PsiParameter)targetVariable,
|
||||
myVisibilityPanel.getVisibility());
|
||||
|
||||
Reference in New Issue
Block a user