Messaging: Remove unnecessary toString() and String.valueOf() calls

Change-Id: I5d5624386ba72b9e7074a7da909f78baaee73f75
This commit is contained in:
Michael W
2024-12-13 20:57:50 +01:00
parent 21cb2b6289
commit e35d385149
18 changed files with 40 additions and 34 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (C) 2012 The Android Open Source Project
* Copyright (C) 2024 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -291,7 +292,7 @@ class ExifOutputStream extends FilterOutputStream {
dataOutputStream.writeShort(tag.getDataType());
dataOutputStream.writeInt(tag.getComponentCount());
if (DEBUG) {
Log.v(TAG, "\n" + tag.toString());
Log.v(TAG, "\n" + tag);
}
if (tag.getDataSize() > 4) {
dataOutputStream.writeInt(tag.getOffset());