fix build, oops

This commit is contained in:
Hans-Christoph Steiner 2018-03-29 23:59:38 +02:00
parent 5f2b053b1c
commit 651f395738
2 changed files with 4 additions and 6 deletions

View File

@ -475,7 +475,6 @@ public class ManageReposActivity extends AppCompatActivity
false, R.string.add_key, true);
}
@DebugLog
private void updateUi(Repo repo, AddRepoState state, int messageRes, boolean redMessage, int addTextRes,
boolean addEnabled) {
if (addRepoState != state) {
@ -519,9 +518,9 @@ public class ManageReposActivity extends AppCompatActivity
final AsyncTask<String, String, String> checker = new AsyncTask<String, String, String>() {
private int statusCode = -1;
private final static int REFRESH_DIALOG = Integer.MAX_VALUE;
private final static int HTTP_UNAUTHORIZED = 401;
private final static int HTTP_OK = 200;
private static final int REFRESH_DIALOG = Integer.MAX_VALUE;
private static final int HTTP_UNAUTHORIZED = 401;
private static final int HTTP_OK = 200;
@Override
protected String doInBackground(String... params) {

View File

@ -387,8 +387,7 @@ public class RepoDetailsActivity extends ActionBarActivity {
RepoProvider.Helper.remove(getApplicationContext(), repoId);
finish();
}
}).setNegativeButton(android.R.string.cancel,
new DialogInterface.OnClickListener() {
}).setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Do nothing...