fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-06-23 16:05:56 +02:00 committed by Andy Scherzinger
parent 3e05624064
commit 4a791dda86
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
3 changed files with 2 additions and 18 deletions

View file

@ -143,12 +143,10 @@ public class OperationsService extends Service {
private static class Target {
public Uri mServerUrl;
public Account mAccount;
public String mCookie;
public Target(Account account, Uri serverUrl, String cookie) {
public Target(Account account, Uri serverUrl) {
mAccount = account;
mServerUrl = serverUrl;
mCookie = cookie;
}
}
@ -522,12 +520,7 @@ public class OperationsService extends Service {
} else {
Account account = operationIntent.getParcelableExtra(EXTRA_ACCOUNT);
String serverUrl = operationIntent.getStringExtra(EXTRA_SERVER_URL);
String cookie = operationIntent.getStringExtra(EXTRA_COOKIE);
target = new Target(
account,
(serverUrl == null) ? null : Uri.parse(serverUrl),
cookie
);
target = new Target(account, (serverUrl == null) ? null : Uri.parse(serverUrl));
String action = operationIntent.getAction();
String remotePath;

View file

@ -169,8 +169,6 @@ public class ActivityAndVersionListAdapter extends ActivityListAdapter {
}
protected class VersionViewHolder extends RecyclerView.ViewHolder {
@BindView(R.id.thumbnail)
public ImageView thumbnail;
@BindView(R.id.size)
public TextView size;
@BindView(R.id.time)

View file

@ -26,7 +26,6 @@ import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
@ -421,9 +420,6 @@ public class SyncedFolderAdapter extends SectionedRecyclerViewAdapter<SectionedV
}
static class FooterViewHolder extends SectionedViewHolder {
@BindView(R.id.footer_container)
public LinearLayout mainFooterContainer;
@BindView(R.id.footer_text)
public TextView title;
@ -440,9 +436,6 @@ public class SyncedFolderAdapter extends SectionedRecyclerViewAdapter<SectionedV
}
static class MainViewHolder extends SectionedViewHolder {
@BindView(R.id.grid_item_container)
public FrameLayout item_container;
@BindView(R.id.thumbnail)
public ImageView image;