Fix logic bug

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3734 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2010-07-08 04:32:46 +00:00
parent 9fc05ac2ae
commit 1c146aebe8
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import org.broadinstitute.sting.utils.GenomeLoc;
import org.broadinstitute.sting.utils.StingException;
import org.broadinstitute.sting.utils.BaseUtils;
import org.broadinstitute.sting.utils.Utils;
import org.broad.tribble.vcf.VCFRecord;
import org.broad.tribble.Feature;
import java.util.*;
@ -606,7 +605,7 @@ public class VariantContext implements Feature { // to enable tribble intergrati
* @return a list of indel lengths ( null if not of type indel or mixed )
*/
public List<Integer> getIndelLengths() {
if ( getType() != Type.INDEL || getType() != Type.MIXED ) {
if ( getType() != Type.INDEL && getType() != Type.MIXED ) {
return null;
}