From d88fd7212f61e9c78c7298041dbd8c8abd299baf Mon Sep 17 00:00:00 2001 From: kiran Date: Thu, 6 Jan 2011 15:27:19 +0000 Subject: [PATCH] Changes to allow the primary key of a table to be hidden. Formatting changes to account for when that column is hidden. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4948 348d0f76-0448-11de-a6fe-93d51630548a --- .../org/broadinstitute/sting/gatk/report/GATKReportColumn.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java b/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java index e9c6d0218..ecec286aa 100755 --- a/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java +++ b/java/src/org/broadinstitute/sting/gatk/report/GATKReportColumn.java @@ -65,7 +65,7 @@ public class GATKReportColumn extends TreeMap { public int getColumnWidth() { int maxWidth = columnName.length(); - for (Object obj : this.entrySet()) { + for (Object obj : this.values()) { int width = obj.toString().length(); if (width > maxWidth) {