Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean up TombstoneParser.normalizeFunctionName()
  • Loading branch information
supervacuus committed Mar 13, 2026
commit f7473a5c12fa49e2f86e7258d604e126ff124b02
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,9 @@ private static String normalizeFunctionName(String fqFunctionName) {
// reliably indicates the with_signature format.
final int spaceIndex = normalized.indexOf(' ');
if (spaceIndex >= 0) {
// Strip return type prefix
normalized = normalized.substring(spaceIndex + 1).trim();

// Strip parameter list suffix
final int parenIndex = normalized.indexOf('(');
if (parenIndex >= 0) {
normalized = normalized.substring(0, parenIndex);
}
final int parenIndex = normalized.indexOf('(', spaceIndex);
normalized =
normalized.substring(spaceIndex + 1, parenIndex >= 0 ? parenIndex : normalized.length());
}

return normalized;
Expand Down
Loading