mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
* Fix Lint Issues #171: Remove unused imports Removed unused Java imports * Fix Lint Issues #171: Perfromance issue, close cursor Cursor was not closed when no longer needed
This commit is contained in:
parent
1b86726364
commit
de9a72d465
37 changed files with 1 additions and 81 deletions
|
|
@ -105,6 +105,7 @@ public class UploadableFile implements Parcelable {
|
|||
}
|
||||
//If both the content providers do not give the data, lets leave it to Jesus
|
||||
if (lastModifiedColumnIndex == -1) {
|
||||
cursor.close();
|
||||
return null;
|
||||
}
|
||||
cursor.moveToFirst();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue