mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +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
233b4a0e63
commit
5676e0435b
1 changed files with 3 additions and 3 deletions
|
@ -550,7 +550,7 @@ public final class ThumbnailsCacheManager {
|
|||
|
||||
if (thumbnail == null) {
|
||||
// check if resized version is available
|
||||
String resizedImageKey = PREFIX_RESIZED_IMAGE + String.valueOf(file.getRemoteId());
|
||||
String resizedImageKey = PREFIX_RESIZED_IMAGE + file.getRemoteId();
|
||||
Bitmap resizedImage = getBitmapFromDiskCache(resizedImageKey);
|
||||
|
||||
if (resizedImage != null) {
|
||||
|
@ -1168,7 +1168,7 @@ public final class ThumbnailsCacheManager {
|
|||
Point p = getScreenDimension();
|
||||
int pxW = p.x;
|
||||
int pxH = p.y;
|
||||
String imageKey = PREFIX_RESIZED_IMAGE + String.valueOf(file.getRemoteId());
|
||||
String imageKey = PREFIX_RESIZED_IMAGE + file.getRemoteId();
|
||||
|
||||
Bitmap bitmap = BitmapUtils.decodeSampledBitmapFromFile(file.getStoragePath(), pxW, pxH);
|
||||
|
||||
|
@ -1186,7 +1186,7 @@ public final class ThumbnailsCacheManager {
|
|||
int pxW;
|
||||
int pxH;
|
||||
pxW = pxH = getThumbnailDimension();
|
||||
String imageKey = PREFIX_THUMBNAIL + String.valueOf(file.getRemoteId());
|
||||
String imageKey = PREFIX_THUMBNAIL + file.getRemoteId();
|
||||
|
||||
GetMethod getMethod = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue