mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
[refactoring] Fix some raw-types in inplace introducers
GitOrigin-RevId: 8e2e93e1bfdd4ead7d0ef0b00aeacedbec7fe341
This commit is contained in:
committed by
intellij-monorepo-bot
parent
517aa1f90b
commit
1def0c841c
@@ -99,5 +99,5 @@ public abstract class IntroduceHandlerBase implements RefactoringActionHandler,
|
||||
protected abstract boolean invokeImpl(Project project, PsiLocalVariable localVariable, @Nullable Editor editor);
|
||||
|
||||
@TestOnly
|
||||
public abstract AbstractInplaceIntroducer getInplaceIntroducer();
|
||||
public abstract AbstractInplaceIntroducer<?, ?> getInplaceIntroducer();
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ public class IntroduceConstantHandler extends BaseExpressionToFieldHandler imple
|
||||
String enteredName = null;
|
||||
boolean replaceAllOccurrences = true;
|
||||
|
||||
final AbstractInplaceIntroducer activeIntroducer = AbstractInplaceIntroducer.getActiveIntroducer(editor);
|
||||
final AbstractInplaceIntroducer<?, ?> activeIntroducer = AbstractInplaceIntroducer.getActiveIntroducer(editor);
|
||||
if (activeIntroducer != null) {
|
||||
activeIntroducer.stopIntroduce(editor);
|
||||
expr = (PsiExpression)activeIntroducer.getExpr();
|
||||
|
||||
Reference in New Issue
Block a user