Skip to content

Commit

Permalink
remove Java's lambda filtering (it does not work reliably anyway)
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Moiseenko <[email protected]>
  • Loading branch information
eupp committed Jan 31, 2025
1 parent aa67f96 commit fd817a9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ private val String.filtered: String get() {
}.joinToString("\n")
// Remove line numbers
filtered = filtered.replace(LINE_NUMBER_REGEX, "")
// Remove lines containing Java's lambda hash-codes;
// as a temporary workaround we remove the whole line,
// because hashcodes of different length can lead to additional spaces in the lines
filtered = filtered.lines().filter { !it.contains("\$\$Lambda") }.joinToString("\n")
return filtered
}

Expand Down

0 comments on commit fd817a9

Please sign in to comment.