diff options
author | fox <[email protected]> | 2021-03-28 17:30:45 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-03-28 17:30:45 +0300 |
commit | f844980bd07f03b9f621ea60b5cd29d33b79e809 (patch) | |
tree | ca1e441ab6b93974048e093d468573fbb761c0cc /org.fox.ttrss/src/main/java | |
parent | 6010d29d22d551a6fa9ded5baf0d590364e1381d (diff) | |
parent | c39a1955a0dfa76ca4b3a5c5a574c68a10c27654 (diff) |
Merge pull request 'Prefer StringBuilder over StringBuffer' (#5) from gaul/tt-rss-android:stringbuilder into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss-android/pulls/5
Diffstat (limited to 'org.fox.ttrss/src/main/java')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/util/ImageCacheService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/util/ImageCacheService.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/util/ImageCacheService.java index f07e23c2..24a7a732 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/util/ImageCacheService.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/util/ImageCacheService.java @@ -132,7 +132,7 @@ public class ImageCacheService extends IntentService { digest.update(s.getBytes()); byte messageDigest[] = digest.digest(); - StringBuffer hexString = new StringBuffer(); + StringBuilder hexString = new StringBuilder(); for (int i=0; i<messageDigest.length; i++) hexString.append(Integer.toHexString(0xFF & messageDigest[i])); |