codacy: No need to call String.valueOf to append to a string.

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2019-04-10 08:45:46 +02:00
parent 7bc663efbc
commit a5d4c2d8ad
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -270,7 +270,7 @@ public final class ThumbnailsCacheManager {
private Bitmap doResizedImageInBackground() {
Bitmap thumbnail;
String imageKey = PREFIX_RESIZED_IMAGE + String.valueOf(file.getRemoteId());
String imageKey = PREFIX_RESIZED_IMAGE + file.getRemoteId();
// Check disk cache in background thread
thumbnail = getBitmapFromDiskCache(imageKey);
@ -509,7 +509,7 @@ public final class ThumbnailsCacheManager {
private Bitmap doThumbnailFromOCFileInBackground() {
Bitmap thumbnail;
ServerFileInterface file = (ServerFileInterface) mFile;
String imageKey = PREFIX_THUMBNAIL + String.valueOf(file.getRemoteId());
String imageKey = PREFIX_THUMBNAIL + file.getRemoteId();
// Check disk cache in background thread
thumbnail = getBitmapFromDiskCache(imageKey);