From a037c78f9b5933dd7a97edd498be3414b36d7fed Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 14 May 2024 14:49:47 +0200 Subject: [PATCH] cleanup GitOrigin-RevId: 67fd5e9162be0f7d84774abfd8c9a1a92beeb6c5 --- .../src/com/intellij/ide/plugins/PluginManagerCore.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.kt b/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.kt index 9e07e4b6ee0a..99af8b8e0f51 100644 --- a/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.kt +++ b/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.kt @@ -1,5 +1,5 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -@file:Suppress("DeprecatedCallableAddReplaceWith", "ReplacePutWithAssignment", "ReplaceGetOrSet") +@file:Suppress("DeprecatedCallableAddReplaceWith", "ReplacePutWithAssignment", "ReplaceGetOrSet", "LoggingSimilarMessage") package com.intellij.ide.plugins @@ -18,6 +18,7 @@ import com.intellij.openapi.extensions.PluginId import com.intellij.openapi.project.Project import com.intellij.openapi.util.BuildNumber import com.intellij.openapi.util.SystemInfo +import com.intellij.openapi.util.SystemInfoRt import com.intellij.openapi.util.io.FileUtilRt import com.intellij.openapi.util.io.NioFiles import com.intellij.openapi.util.text.HtmlChunk @@ -330,7 +331,7 @@ object PluginManagerCore { .map { Supplier { HtmlChunk.text(it!!.get()) } } .toList() } - else if (PlatformUtils.isFleetBackend() && !SystemInfo.isMac) { + else if (PlatformUtils.isFleetBackend() && !SystemInfoRt.isMac) { logger.warn(logMessage) // some Mercury backend plugins cannot be loaded on Windows and Linux } else {