From eb4a67e77abe79018ca3668083bf47c68cf2062d Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Mon, 23 Jun 2025 10:48:15 +0200 Subject: [PATCH] [ByteCodeViewer] minor Javadoc fix GitOrigin-RevId: 3ee12fd9f556c0de3bd1353a99b728e6d30237d8 --- .../src/com/intellij/byteCodeViewer/bytecodeLineMapping.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/bytecodeLineMapping.kt b/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/bytecodeLineMapping.kt index 76f0482393ce..a8190c5c37ba 100644 --- a/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/bytecodeLineMapping.kt +++ b/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/bytecodeLineMapping.kt @@ -5,7 +5,7 @@ import java.util.* /** - * This method the following debugging information from `bytecode`: + * This method removes the following debugging information from `bytecode`: * - `LINENUMBER` * - `LOCALVARIABLE` * @@ -18,7 +18,6 @@ import java.util.* * This is bad because labels are often targets of conditional jumps. * Also, we do want to display labels. * They're useful. - * */ internal fun removeDebugInfo(bytecodeWithDebugInfo: String): String = bytecodeWithDebugInfo.lines() .filter { line -> !isDebugLine(line.trim()) } @@ -100,7 +99,7 @@ internal fun mapLines(bytecodeWithDebugInfo: String, sourceStartLine: Int, sourc } /** - * Returns true if `line` is considered to be part of debug info, i.e. not actual bytecode. + * Returns true if `line` is considered to be part of debug info, i.e., not actual bytecode. */ private fun isDebugLine(line: String): Boolean { if (line.startsWith("LINENUMBER")) return true