diff options
author | Jae Seo <jaeseo@google.com> | 2015-06-21 00:17:23 -0700 |
---|---|---|
committer | Jae Seo <jaeseo@google.com> | 2015-06-21 00:17:23 -0700 |
commit | 5ea221b9894154e77cb6d347b9b0f2d8e0295de5 (patch) | |
tree | 47b07bfcd12ad48dc3a58d61aed35cc8df01d237 /media | |
parent | 3ac465a7d830a973096b4f69ef4531f09dcdf07c (diff) | |
download | frameworks_base-5ea221b9894154e77cb6d347b9b0f2d8e0295de5.zip frameworks_base-5ea221b9894154e77cb6d347b9b0f2d8e0295de5.tar.gz frameworks_base-5ea221b9894154e77cb6d347b9b0f2d8e0295de5.tar.bz2 |
TIF: Replace StringBuffer with String
Change-Id: I52f7d7cc8af7d230d6a23993391f662542886f37
Diffstat (limited to 'media')
-rw-r--r-- | media/java/android/media/tv/TvStreamConfig.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/media/java/android/media/tv/TvStreamConfig.java b/media/java/android/media/tv/TvStreamConfig.java index 1bdc63e..0c2f3fe 100644 --- a/media/java/android/media/tv/TvStreamConfig.java +++ b/media/java/android/media/tv/TvStreamConfig.java @@ -89,12 +89,8 @@ public class TvStreamConfig implements Parcelable { @Override public String toString() { - StringBuilder b = new StringBuilder(128); - b.append("TvStreamConfig {"); - b.append("mStreamId=").append(mStreamId).append(";"); - b.append("mType=").append(mType).append(";"); - b.append("mGeneration=").append(mGeneration).append("}"); - return b.toString(); + return "TvStreamConfig {mStreamId=" + mStreamId + ";" + "mType=" + mType + ";mGeneration=" + + mGeneration + "}"; } // Parcelable |