Fix codecy issues

This commit is contained in:
Dinu Kumarasiri 2017-05-20 13:34:51 +02:00
parent 7629e00f33
commit 1dbe1fe636
3 changed files with 0 additions and 5 deletions

View file

@ -48,7 +48,6 @@ public class MediaDataExtractor {
categories = new ArrayList<>(); categories = new ArrayList<>();
descriptions = new HashMap<>(); descriptions = new HashMap<>();
fetched = false; fetched = false;
boolean processed = false;
this.licenseList = licenseList; this.licenseList = licenseList;
} }
@ -119,7 +118,6 @@ public class MediaDataExtractor {
descriptions = getMultilingualText(descriptionNode); descriptions = getMultilingualText(descriptionNode);
Node authorNode = findTemplateParameter(templateNode, "author"); Node authorNode = findTemplateParameter(templateNode, "author");
String author = getFlatText(authorNode);
} }
Node coordinateTemplateNode = findTemplate(doc.getDocumentElement(), "location"); Node coordinateTemplateNode = findTemplate(doc.getDocumentElement(), "location");

View file

@ -19,8 +19,6 @@ public class CategoriesAdapter extends BaseAdapter {
private ArrayList<CategorizationFragment.CategoryItem> items; private ArrayList<CategorizationFragment.CategoryItem> items;
public CategoriesAdapter(Context context, ArrayList<CategorizationFragment.CategoryItem> items) { public CategoriesAdapter(Context context, ArrayList<CategorizationFragment.CategoryItem> items) {
Context localcontext;
localcontext = context;
this.items = items; this.items = items;
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
} }

View file

@ -55,7 +55,6 @@ public class MwVolleyApi {
} }
public void request(String coords) { public void request(String coords) {
String coordsLog = coords;
String apiUrl = buildUrl(coords); String apiUrl = buildUrl(coords);
Timber.d("URL: %s", apiUrl); Timber.d("URL: %s", apiUrl);