remove unnecessary valueOf call

This commit is contained in:
AndyScherzinger 2016-11-07 00:49:11 +01:00
parent e3f8a49f3f
commit 39ed78b5cc
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -300,9 +300,7 @@ public class FileListListAdapter extends BaseAdapter implements FilterableListAd
if (!file.isFolder()) {
if ((MimeTypeUtil.isImage(file) || MimeTypeUtil.isVideo(file)) && file.getRemoteId() != null) {
// Thumbnail in Cache?
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
String.valueOf(file.getRemoteId())
);
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(file.getRemoteId());
if (thumbnail != null && !file.needsUpdateThumbnail()) {
if (MimeTypeUtil.isVideo(file)) {