From d58eeb7539c5b040e64080ac71b7972a88cc740b Mon Sep 17 00:00:00 2001 From: aaron Date: Wed, 1 Jul 2009 13:50:37 +0000 Subject: [PATCH] Don't cry wolf: only one warning is now emitted, instead of tons of warnings. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1139 348d0f76-0448-11de-a6fe-93d51630548a --- .../sting/gatk/iterators/MergingSamRecordIterator2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/org/broadinstitute/sting/gatk/iterators/MergingSamRecordIterator2.java b/java/src/org/broadinstitute/sting/gatk/iterators/MergingSamRecordIterator2.java index c3bdc5737..89e9aee85 100644 --- a/java/src/org/broadinstitute/sting/gatk/iterators/MergingSamRecordIterator2.java +++ b/java/src/org/broadinstitute/sting/gatk/iterators/MergingSamRecordIterator2.java @@ -55,7 +55,7 @@ public class MergingSamRecordIterator2 implements CloseableIterator, private SAMRecord mNextRecord; protected boolean initialized = false; protected final Reads reads; - protected boolean warnedUserAboutSortOrder = false; // so we only warn the user once + protected static boolean warnedUserAboutSortOrder = false; // so we only warn the user once /** * Constructs a new merging iterator with the same set of readers and sort order as