mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Change log tags
This commit is contained in:
parent
b0d6b5acb8
commit
76c4b0ab32
1 changed files with 1 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ public class MwVolleyApi {
|
||||||
public void request(String coords) {
|
public void request(String coords) {
|
||||||
coordsLog = coords;
|
coordsLog = coords;
|
||||||
String apiUrl = buildUrl(coords);
|
String apiUrl = buildUrl(coords);
|
||||||
Log.d("Image", "URL: " + apiUrl);
|
Log.d(TAG, "URL: " + apiUrl);
|
||||||
|
|
||||||
JsonRequest<QueryResponse> request = new QueryRequest(apiUrl,
|
JsonRequest<QueryResponse> request = new QueryRequest(apiUrl,
|
||||||
new LogResponseListener<QueryResponse>(), new LogResponseErrorListener());
|
new LogResponseListener<QueryResponse>(), new LogResponseErrorListener());
|
||||||
|
|
@ -108,7 +108,6 @@ public class MwVolleyApi {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class LogResponseListener<T> implements Response.Listener<T> {
|
private static class LogResponseListener<T> implements Response.Listener<T> {
|
||||||
private static final String TAG = LogResponseListener.class.getName();
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onResponse(T response) {
|
public void onResponse(T response) {
|
||||||
|
|
@ -117,7 +116,6 @@ public class MwVolleyApi {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class LogResponseErrorListener implements Response.ErrorListener {
|
private static class LogResponseErrorListener implements Response.ErrorListener {
|
||||||
private static final String TAG = LogResponseErrorListener.class.getName();
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onErrorResponse(VolleyError error) {
|
public void onErrorResponse(VolleyError error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue