Skip to content

Commit 5e85348

Browse files
Drop debug log from JpsFileContent.loadComponent (not needed anymore - no errors logged since day 0)
GitOrigin-RevId: e60f7bac09fd9ffd9ea7cb7a20f64bac08a54e8e
1 parent 427ccc2 commit 5e85348

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

platform/workspace/jps/src/com/intellij/platform/workspace/jps/serialization/impl/ModuleImlFileEntitiesSerializer.kt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,7 @@ internal open class ModuleImlFileEntitiesSerializer(internal val modulePath: Mod
7373
private val customModuleFilePath: String?,
7474
) {
7575
fun loadComponent(componentName: String): Element? {
76-
val result = components[componentName]
77-
if (LOG.isDebugEnabled) {
78-
val rc = reader.loadComponent(fileUrl, componentName, customModuleFilePath)
79-
val rcString = if (rc != null) JDOMUtil.write(rc) else null
80-
val itString = if (result != null) JDOMUtil.write(result) else null
81-
if (rcString != itString) {
82-
LOG.error("Error while parsing ${fileUrl}. Expected:\n$rcString\n\nbut was:\n$itString\n")
83-
}
84-
}
85-
return result
76+
return components[componentName]
8677
}
8778

8879
companion object {

0 commit comments

Comments
 (0)