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:
parent
56d9ccd737
commit
da6fd323fd
@ -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) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user