diff --git a/public/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java b/public/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java index 0d969c989..bf7ddda22 100755 --- a/public/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java +++ b/public/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java @@ -60,24 +60,12 @@ public class GATKReportColumn extends LinkedHashMap { if ( format.equals("") ) { this.format = "%s"; this.dataType = GATKReportDataType.Unknown; - if ( defaultValue != null ) { - this.defaultValue = defaultValue; - //this.dataType = GATKReportDataType.fromObject(defaultValue); - } - else { - this.defaultValue = ""; - //this.dataType = GATKReportDataType.Unknown; - } + this.defaultValue = (defaultValue != null) ? defaultValue : ""; } else { this.format = format; this.dataType = GATKReportDataType.fromFormatString(format); - if ( defaultValue == null ) { - this.defaultValue = dataType.getDefaultValue(); - } - else { - this.defaultValue = defaultValue; - } + this.defaultValue = (defaultValue != null) ? defaultValue : dataType.getDefaultValue(); } }