[java-refactoring] InlineMethodHandler: clarifying comment added

GitOrigin-RevId: c5649ed1349897dd13c5ac726440f72b06ab4fd4
This commit is contained in:
Tagir Valeev
2024-10-11 14:56:40 +02:00
committed by intellij-monorepo-bot
parent c4876dd8d3
commit 360772f05f

View File

@@ -188,6 +188,7 @@ public final class InlineMethodHandler extends JavaInlineActionHandler {
int answer = Messages.showYesNoDialog(project, message, getRefactoringName(), Messages.getQuestionIcon());
if (answer == Messages.NO) return true;
InlineMethodProcessor processor = new InlineMethodProcessor(project, realMethod, reference, editor, true, false, false, true);
// Without this line, conflicts view is not shown
processor.setPrepareSuccessfulSwingThreadCallback(() -> {});
processor.run();
return true;