Make a few declarations final
This commit is contained in:
parent
682cf58aa9
commit
d951ccd221
@ -46,9 +46,9 @@ public class RepoPersister {
|
|||||||
@NonNull
|
@NonNull
|
||||||
private final Context context;
|
private final Context context;
|
||||||
|
|
||||||
private Map<String, App> appsToUpdate = new HashMap<>();
|
private final Map<String, App> appsToUpdate = new HashMap<>();
|
||||||
private List<Apk> apksToUpdate = new ArrayList<>();
|
private final List<Apk> apksToUpdate = new ArrayList<>();
|
||||||
private List<Repo> repos = new ArrayList<>();
|
private final List<Repo> repos = new ArrayList<>();
|
||||||
|
|
||||||
public RepoPersister(@NonNull Context context) {
|
public RepoPersister(@NonNull Context context) {
|
||||||
this.context = context;
|
this.context = context;
|
||||||
|
@ -211,7 +211,7 @@ public abstract class Downloader {
|
|||||||
*/
|
*/
|
||||||
private class WrappedInputStream extends InputStream {
|
private class WrappedInputStream extends InputStream {
|
||||||
|
|
||||||
private InputStream toWrap;
|
private final InputStream toWrap;
|
||||||
|
|
||||||
public WrappedInputStream(InputStream toWrap) {
|
public WrappedInputStream(InputStream toWrap) {
|
||||||
super();
|
super();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user