Make a few declarations final

This commit is contained in:
Daniel Martí 2015-11-13 18:44:08 +01:00
parent 682cf58aa9
commit d951ccd221
2 changed files with 4 additions and 4 deletions

View File

@ -46,9 +46,9 @@ public class RepoPersister {
@NonNull
private final Context context;
private Map<String, App> appsToUpdate = new HashMap<>();
private List<Apk> apksToUpdate = new ArrayList<>();
private List<Repo> repos = new ArrayList<>();
private final Map<String, App> appsToUpdate = new HashMap<>();
private final List<Apk> apksToUpdate = new ArrayList<>();
private final List<Repo> repos = new ArrayList<>();
public RepoPersister(@NonNull Context context) {
this.context = context;

View File

@ -211,7 +211,7 @@ public abstract class Downloader {
*/
private class WrappedInputStream extends InputStream {
private InputStream toWrap;
private final InputStream toWrap;
public WrappedInputStream(InputStream toWrap) {
super();