mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
IJ-MR-135481 [lombok] IDEA-352727 Support incomplete mode
- fix compilation problem GitOrigin-RevId: 994dad582ccc0f65b8fb976610667764004df147
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f3b00ccc67
commit
1f47d54306
@@ -141,7 +141,7 @@ public abstract class AbstractLombokParsingTestCase extends AbstractLombokLightC
|
||||
}
|
||||
else if (myRunnerType == ModeRunnerType.INCOMPLETE) {
|
||||
IncompleteDependenciesService service = getProject().getService(IncompleteDependenciesService.class);
|
||||
try (var ignored = asAutoCloseable(WriteAction.compute(() -> service.enterIncompleteState()))) {
|
||||
try (var ignored = asAutoCloseable(WriteAction.compute(() -> service.enterIncompleteState(this)))) {
|
||||
compareFiles(lowercaseFirstLetter);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ public class IncompleteModeHighlightTest extends AbstractLombokHighlightsTest {
|
||||
|
||||
private void doIncompleteTest() {
|
||||
IncompleteDependenciesService service = getProject().getService(IncompleteDependenciesService.class);
|
||||
try (var ignored = asAutoCloseable(WriteAction.compute(() -> service.enterIncompleteState()))) {
|
||||
try (var ignored = asAutoCloseable(WriteAction.compute(() -> service.enterIncompleteState(this)))) {
|
||||
String name = getTestName(false);
|
||||
myFixture.configureByFile(name + ".java");
|
||||
myFixture.testHighlighting(true, true, true);
|
||||
|
||||
Reference in New Issue
Block a user