Fix gradle format task.

This commit is contained in:
Greyson Parrelli
2026-02-16 14:22:44 -05:00
committed by Alex Hart
parent 9cefe0bc04
commit b48b1f031e
57 changed files with 164 additions and 186 deletions

View File

@@ -150,7 +150,7 @@ private fun Message<*, *>.appendSizeTree(name: String, depth: Int, sb: StringBui
if (isMessageList) {
for (i in value.indices) {
sb.append("\n")
(value[i] as Message<*, *>).appendSizeTree("${fieldName}[$i]", depth + 2, sb)
(value[i] as Message<*, *>).appendSizeTree("$fieldName[$i]", depth + 2, sb)
}
}
}

View File

@@ -10,7 +10,6 @@ import org.signal.core.util.Hex
import org.signal.core.util.isNotNullOrBlank
import java.util.regex.Matcher
import java.util.regex.Pattern
import kotlin.io.path.Path
/** Given a [Matcher], update the [StringBuilder] with the scrubbed output you want for a given match. */
private typealias MatchProcessor = (Matcher, StringBuilder) -> Unit