mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Correcting some easy Codacy issues
This commit is contained in:
parent
4154a7c9d2
commit
b07064def3
2 changed files with 2 additions and 3 deletions
|
|
@ -38,7 +38,6 @@ public class MediaDataExtractor {
|
||||||
private String filename;
|
private String filename;
|
||||||
private ArrayList<String> categories;
|
private ArrayList<String> categories;
|
||||||
private Map<String, String> descriptions;
|
private Map<String, String> descriptions;
|
||||||
private Date date;
|
|
||||||
private String license;
|
private String license;
|
||||||
private @Nullable LatLng coordinates;
|
private @Nullable LatLng coordinates;
|
||||||
private LicenseList licenseList;
|
private LicenseList licenseList;
|
||||||
|
|
@ -179,7 +178,7 @@ public class MediaDataExtractor {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static abstract class TemplateChildNodeComparator {
|
private static abstract class TemplateChildNodeComparator {
|
||||||
abstract public boolean match(Node node);
|
public abstract boolean match(Node node);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Node findTemplateParameter(Node templateNode, String name) throws IOException {
|
private Node findTemplateParameter(Node templateNode, String name) throws IOException {
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ public class MediaWikiImageView extends SimpleDraweeView {
|
||||||
if (currentThumbnailTask != null) {
|
if (currentThumbnailTask != null) {
|
||||||
currentThumbnailTask.cancel(true);
|
currentThumbnailTask.cancel(true);
|
||||||
}
|
}
|
||||||
if(media == null) {
|
if (media == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue