Remove unused class fields
This commit is contained in:
parent
1ad69adf4e
commit
97eea866aa
@ -34,7 +34,6 @@ public class HttpDownloader extends Downloader {
|
||||
protected HttpURLConnection connection;
|
||||
private InputStream stream;
|
||||
private int statusCode = -1;
|
||||
private boolean onlyStream;
|
||||
|
||||
HttpDownloader(Context context, URL url, File destFile)
|
||||
throws FileNotFoundException, MalformedURLException {
|
||||
@ -46,7 +45,6 @@ public class HttpDownloader extends Downloader {
|
||||
* only stream the file through the {@link HttpDownloader#getInputStream()}
|
||||
*/
|
||||
public HttpDownloader streamDontDownload() {
|
||||
onlyStream = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,6 @@ import org.fdroid.fdroid.data.App;
|
||||
|
||||
public abstract class AppListAdapter extends CursorAdapter {
|
||||
|
||||
private Context mContext;
|
||||
private LayoutInflater mInflater;
|
||||
private DisplayImageOptions displayImageOptions;
|
||||
|
||||
@ -43,8 +42,7 @@ public abstract class AppListAdapter extends CursorAdapter {
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
mContext = context;
|
||||
mInflater = (LayoutInflater) mContext.getSystemService(
|
||||
mInflater = (LayoutInflater) context.getSystemService(
|
||||
Context.LAYOUT_INFLATER_SERVICE);
|
||||
displayImageOptions = Utils.getImageLoadingOptions().build();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user