Skip to content

Commit e89947c

Browse files
committed
Update MainActivity.java
1 parent db4993f commit e89947c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/src/main/java/com/github/aarcangeli/serioussamandroid/MainActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ protected void onPostExecute(Void result) {
223223
}
224224

225225
private class ReadFileTask extends AsyncTask<Void,Void,JSONObject> {
226-
226+
String updateURL = null;
227227
@Override
228228
protected JSONObject doInBackground(Void... params)
229229
{
@@ -268,7 +268,6 @@ protected JSONObject doInBackground(Void... params)
268268
protected void onPostExecute(JSONObject response) {
269269
super.onPostExecute(response);
270270
if (response != null) {
271-
String updateURL;
272271
try {
273272
if (BuildConfig.home.endsWith("TSE")) {
274273
updateURL = response.getString("url_tse");

0 commit comments

Comments
 (0)