mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (suppression; formatting)
GitOrigin-RevId: 7abfeaf0ea92b9e42171b96fa3b8c8d9c8213a70
This commit is contained in:
committed by
intellij-monorepo-bot
parent
acddd1bba5
commit
96dbed77fc
@@ -13,7 +13,6 @@ import com.intellij.ide.bootstrap.*
|
||||
import com.intellij.ide.gdpr.EndUserAgreement
|
||||
import com.intellij.ide.instrument.WriteIntentLockInstrumenter
|
||||
import com.intellij.ide.plugins.PluginManagerCore
|
||||
import com.intellij.ide.ui.laf.IntelliJLaf
|
||||
import com.intellij.idea.DirectoryLock.CannotActivateException
|
||||
import com.intellij.jna.JnaLoader
|
||||
import com.intellij.openapi.application.*
|
||||
@@ -436,7 +435,8 @@ private suspend fun importConfig(args: List<String>,
|
||||
val newConfigDir = customTargetDirectoryToImportConfig ?: PathManager.getConfigDir()
|
||||
|
||||
withContext(RawSwingDispatcher) {
|
||||
UIManager.setLookAndFeel(IntelliJLaf())
|
||||
@Suppress("DEPRECATION", "removal")
|
||||
UIManager.setLookAndFeel(com.intellij.ide.ui.laf.IntelliJLaf())
|
||||
}
|
||||
|
||||
val veryFirstStartOnThisComputer = euaDocumentDeferred.await() != null
|
||||
@@ -537,13 +537,8 @@ private fun checkDirectory(directory: Path, kind: String, property: String, chec
|
||||
return false
|
||||
}
|
||||
finally {
|
||||
if (tempFile != null) {
|
||||
try {
|
||||
Files.deleteIfExists(tempFile)
|
||||
}
|
||||
catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
try { tempFile?.deleteIfExists() }
|
||||
catch (_: Exception) { }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user