diff options
| author | 2024-03-07 16:46:10 +0000 | |
|---|---|---|
| committer | 2024-03-07 16:46:10 +0000 | |
| commit | 60e4fdfa0897b94c003ba3df3b39a16e10c886d1 (patch) | |
| tree | d9cae04dfc3a0e62ba020c420421338096557b85 | |
| parent | b24190c9cd7ef68291345b482c87f626427e6000 (diff) | |
Remove redudant string conversions
In the review of ag/26174212, an unnecessary string conversion was
identified; this CL corrects that, plus two other instances in
the same function.
Bug: 314732730
Test: Presubmit
Change-Id: Id2b620088e12266f041be864271493ffe7e1a3b1
| -rw-r--r-- | cmds/hid/src/com/android/commands/hid/Event.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/hid/src/com/android/commands/hid/Event.java b/cmds/hid/src/com/android/commands/hid/Event.java index 09ed5281a83d..3b022796356b 100644 --- a/cmds/hid/src/com/android/commands/hid/Event.java +++ b/cmds/hid/src/com/android/commands/hid/Event.java @@ -121,9 +121,9 @@ public class Event { public String toString() { return "Event{id=" + mId - + ", command=" + String.valueOf(mCommand) - + ", name=" + String.valueOf(mName) - + ", uniq=" + String.valueOf(mUniq) + + ", command=" + mCommand + + ", name=" + mName + + ", uniq=" + mUniq + ", descriptor=" + Arrays.toString(mDescriptor) + ", vid=" + mVid + ", pid=" + mPid |