mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
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:
parent
7bc663efbc
commit
a5d4c2d8ad
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue