[external system api][cleanup] do not invoke ImportSpecBuilder#forceWhenUptodate because this method does nothing

GitOrigin-RevId: 69de2f43ae79f83577b6b8cae6cd0dc883c8759d
This commit is contained in:
Alexander.Glukhov
2024-08-28 17:46:59 +02:00
committed by intellij-monorepo-bot
parent aeab25d191
commit 289a241dee
2 changed files with 2 additions and 3 deletions

View File

@@ -520,8 +520,7 @@ public abstract class ExternalSystemImportingTestCase extends ExternalSystemTest
protected ImportSpec createImportSpec() {
ImportSpecBuilder importSpecBuilder = new ImportSpecBuilder(myProject, getExternalSystemId())
.use(ProgressExecutionMode.MODAL_SYNC)
.forceWhenUptodate();
.use(ProgressExecutionMode.MODAL_SYNC);
return importSpecBuilder.build();
}

View File

@@ -58,7 +58,7 @@ class GradleProjectImportingTestWizardService(private val project: Project) : Pr
importingErrorDetails = errorDetails
}
}
}).forceWhenUptodate()
})
)
return importingErrorMessage?.let { message ->