Damn you, Mark

This commit is contained in:
Eric Banks 2012-02-28 10:09:09 -05:00
parent bd398e30fd
commit a4a279ce80
1 changed files with 1 additions and 1 deletions

View File

@ -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) {
if ( alleles == null || alleles.size() == 0 )
if ( alleles == null || alleles.isEmpty() )
this.alleles = Collections.emptyList();
else
this.alleles = Collections.unmodifiableList(alleles);