mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-21 15:29:18 -04:00
Remove unnecessary initializers
These fields are initialized to their zero values (0, null, false) so doing the same over in the constructor is unnecessary.
This commit is contained in:
@@ -58,9 +58,6 @@ public class RepoXMLHandler extends DefaultHandler {
|
||||
|
||||
public RepoXMLHandler(Repo repo) {
|
||||
this.repo = repo;
|
||||
signingCertFromIndexXml = null;
|
||||
name = null;
|
||||
description = null;
|
||||
}
|
||||
|
||||
public List<App> getApps() {
|
||||
|
||||
@@ -44,15 +44,7 @@ public class Apk extends ValueObject implements Comparable<Apk> {
|
||||
public String repoAddress;
|
||||
public Utils.CommaSeparatedList incompatibleReasons;
|
||||
|
||||
public Apk() {
|
||||
size = 0;
|
||||
added = null;
|
||||
repo = 0;
|
||||
hash = null;
|
||||
hashType = null;
|
||||
permissions = null;
|
||||
compatible = false;
|
||||
}
|
||||
public Apk() { }
|
||||
|
||||
public Apk(Cursor cursor) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user