mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove spam from the test console
GitOrigin-RevId: 6b4a26e67ff25da119016632d38d6de1b510b316
This commit is contained in:
committed by
intellij-monorepo-bot
parent
734367c4b5
commit
31d830657e
@@ -62,7 +62,7 @@ internal class ClassPathXmlPathResolver(private val classLoader: ClassLoader, va
|
||||
|
||||
if (isRunningFromSources && path.startsWith("intellij.") && dataLoader.emptyDescriptorIfCannotResolve) {
|
||||
Logger.getInstance(ClassPathXmlPathResolver::class.java)
|
||||
.warn("Cannot resolve $path (dataLoader=$dataLoader, classLoader=$classLoader). ")
|
||||
.trace("Cannot resolve $path (dataLoader=$dataLoader, classLoader=$classLoader). ")
|
||||
val descriptor = RawPluginDescriptor()
|
||||
descriptor.`package` = "unresolved.${path.removeSuffix(".xml")}"
|
||||
return descriptor
|
||||
|
||||
@@ -454,7 +454,9 @@ public final class PluginManagerCore {
|
||||
).collect(Collectors.joining("\n "));
|
||||
|
||||
if (isUnitTestMode || !GraphicsEnvironment.isHeadless()) {
|
||||
getLogger().warn(logMessage);
|
||||
if (!isUnitTestMode) {
|
||||
getLogger().warn(logMessage);
|
||||
}
|
||||
return Stream.concat(
|
||||
globalErrors.stream(),
|
||||
loadingErrors.stream()
|
||||
@@ -585,7 +587,7 @@ public final class PluginManagerCore {
|
||||
|
||||
private static void disableIncompatiblePlugins(@NotNull Collection<IdeaPluginDescriptorImpl> descriptors,
|
||||
@NotNull Map<PluginId, IdeaPluginDescriptorImpl> idMap,
|
||||
@NotNull Map<PluginId, PluginLoadingError> errors) {
|
||||
@NotNull Map<? super PluginId, ? super PluginLoadingError> errors) {
|
||||
String selectedIds = System.getProperty("idea.load.plugins.id");
|
||||
String selectedCategory = System.getProperty("idea.load.plugins.category");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user