mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
3e05624064
commit
4a791dda86
3 changed files with 2 additions and 18 deletions
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue