set some vars to final

fdroid/fdroidclient!543
This commit is contained in:
Hans-Christoph Steiner 2018-08-08 12:07:25 +02:00
parent e5d25ae8d0
commit ae56d5c97c
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ import static org.junit.Assert.fail;
public class HttpDownloaderTest { public class HttpDownloaderTest {
String[] urls = { final String[] urls = {
"https://en.wikipedia.org/wiki/Index.html", "https://en.wikipedia.org/wiki/Index.html",
"https://mirrors.kernel.org/debian/dists/stable/Release", "https://mirrors.kernel.org/debian/dists/stable/Release",
"https://f-droid.org/repo/index.jar", "https://f-droid.org/repo/index.jar",

View File

@ -34,9 +34,9 @@ public class RepoDetails implements RepoXMLHandler.IndexReceiver {
public String icon; public String icon;
public String[] mirrors; public String[] mirrors;
public List<Apk> apks = new ArrayList<>(); public final List<Apk> apks = new ArrayList<>();
public List<App> apps = new ArrayList<>(); public final List<App> apps = new ArrayList<>();
public List<RepoPushRequest> repoPushRequestList = new ArrayList<>(); public final List<RepoPushRequest> repoPushRequestList = new ArrayList<>();
@Override @Override
public void receiveRepo(String name, String description, String signingCert, int maxage, public void receiveRepo(String name, String description, String signingCert, int maxage,