Use backticks not vertical bars to denote variables in comments for /examples

Bug: webrtc:12338
Change-Id: I753a476d1574d8dd50f1b6d4bfc2beb7f6f1f913
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226947
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34562}
This commit is contained in:
Artem Titov
2021-07-26 13:21:35 +02:00
committed by WebRTC LUCI CQ
parent d7ac581045
commit 36de9dfb6e
14 changed files with 28 additions and 28 deletions

View File

@ -66,7 +66,7 @@ public class UnhandledExceptionHandler implements Thread.UncaughtExceptionHandle
});
}
// Returns the Message attached to the original Cause of |t|.
// Returns the Message attached to the original Cause of `t`.
private static String getTopLevelCauseMessage(Throwable t) {
Throwable topLevelCause = t;
while (topLevelCause.getCause() != null) {
@ -75,8 +75,8 @@ public class UnhandledExceptionHandler implements Thread.UncaughtExceptionHandle
return topLevelCause.getMessage();
}
// Returns a human-readable String of the stacktrace in |t|, recursively
// through all Causes that led to |t|.
// Returns a human-readable String of the stacktrace in `t`, recursively
// through all Causes that led to `t`.
private static String getRecursiveStackTrace(Throwable t) {
StringWriter writer = new StringWriter();
t.printStackTrace(new PrintWriter(writer));