mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Stop unnecesary unboxing of values
This commit is contained in:
parent
5f6f67d3e2
commit
85182e3fb7
2 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ public class Contribution extends Media {
|
|||
cv.put(Table.COLUMN_LOCAL_URI, getLocalUri().toString());
|
||||
}
|
||||
if(getImageUrl() != null) {
|
||||
cv.put(Table.COLUMN_IMAGE_URL, getImageUrl().toString());
|
||||
cv.put(Table.COLUMN_IMAGE_URL, getImageUrl());
|
||||
}
|
||||
if(getDateUploaded() != null) {
|
||||
cv.put(Table.COLUMN_UPLOADED, getDateUploaded().getTime());
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ public class MediaDetailFragment extends Fragment {
|
|||
protected void onPostExecute(Boolean success) {
|
||||
detailFetchTask = null;
|
||||
|
||||
if (success.booleanValue()) {
|
||||
if (success) {
|
||||
extractor.fill(media);
|
||||
|
||||
// Set text of desc, license, and categories
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue