Browse Source

Fixed warnings

main
M66B 6 years ago
parent
commit
6204cf8b7d
2 changed files with 6 additions and 6 deletions
  1. +4
    -4
      app/src/main/java/eu/faircode/email/ActivityView.java
  2. +2
    -2
      app/src/main/java/eu/faircode/email/AdapterMessage.java

+ 4
- 4
app/src/main/java/eu/faircode/email/ActivityView.java View File

@ -458,7 +458,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
// Get version info // Get version info
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append(context.getString(R.string.title_crash_info_remark) + "\n\n\n\n");
sb.append(context.getString(R.string.title_crash_info_remark)).append("\n\n\n\n");
sb.append(String.format("%s: %s %s/%s\r\n", sb.append(String.format("%s: %s %s/%s\r\n",
context.getString(R.string.app_name), context.getString(R.string.app_name),
@ -549,8 +549,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
} }
private class UpdateInfo { private class UpdateInfo {
public String tag_name; // version
public String html_url;
String tag_name; // version
String html_url;
} }
private void checkUpdate() { private void checkUpdate() {
@ -900,7 +900,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
new SimpleTask<File>() { new SimpleTask<File>() {
@Override @Override
protected File onLoad(Context context, Bundle args) throws Throwable {
protected File onLoad(Context context, Bundle args) {
long id = args.getLong("id"); long id = args.getLong("id");
DB db = DB.getInstance(context); DB db = DB.getInstance(context);


+ 2
- 2
app/src/main/java/eu/faircode/email/AdapterMessage.java View File

@ -978,7 +978,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
new SimpleTask<Void>() { new SimpleTask<Void>() {
@Override @Override
protected Void onLoad(Context context, Bundle args) throws Throwable {
protected Void onLoad(Context context, Bundle args) {
long id = args.getLong("id"); long id = args.getLong("id");
DB db = DB.getInstance(context); DB db = DB.getInstance(context);
@ -1015,7 +1015,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
new SimpleTask<Void>() { new SimpleTask<Void>() {
@Override @Override
protected Void onLoad(Context context, Bundle args) throws Throwable {
protected Void onLoad(Context context, Bundle args) {
long id = args.getLong("id"); long id = args.getLong("id");
boolean flagged = args.getBoolean("flagged"); boolean flagged = args.getBoolean("flagged");
DB db = DB.getInstance(context); DB db = DB.getInstance(context);


Loading…
Cancel
Save