Damn you, Mark
This commit is contained in:
parent
bd398e30fd
commit
a4a279ce80
|
|
@ -29,7 +29,7 @@ public class Genotype implements Comparable<Genotype> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Genotype(String sampleName, List<Allele> alleles, double log10PError, Set<String> filters, Map<String, Object> attributes, boolean isPhased, double[] log10Likelihoods) {
|
public Genotype(String sampleName, List<Allele> alleles, double log10PError, Set<String> filters, Map<String, Object> attributes, boolean isPhased, double[] log10Likelihoods) {
|
||||||
if ( alleles == null || alleles.size() == 0 )
|
if ( alleles == null || alleles.isEmpty() )
|
||||||
this.alleles = Collections.emptyList();
|
this.alleles = Collections.emptyList();
|
||||||
else
|
else
|
||||||
this.alleles = Collections.unmodifiableList(alleles);
|
this.alleles = Collections.unmodifiableList(alleles);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue