diff options
author | 2024-03-07 16:46:10 +0000 | |
---|---|---|
committer | 2024-05-22 22:56:02 +0000 | |
commit | f97c74986d538ffb799c2ccf253a71481cd043b5 (patch) | |
tree | bf990bdda9142627b6d1919303dba7188491c1c0 | |
parent | 2a1acadce1ed8e42089291eed108372c529d1b20 (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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:60e4fdfa0897b94c003ba3df3b39a16e10c886d1)
Merged-In: Id2b620088e12266f041be864271493ffe7e1a3b1
Change-Id: Id2b620088e12266f041be864271493ffe7e1a3b1
Signed-off-by: Edward Liaw <edliaw@google.com>
-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 |