Don't try to close if the lazy initialize hasn't triggered

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1815 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2009-10-13 01:20:25 +00:00
parent ec83bc6ec5
commit be92a1e603
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@ public class VCFGenotypeWriterAdapter implements GenotypeWriter {
/** finish writing, closing any open files. */
@Override
public void close() {
mWriter.close();
if (mInitialized)
mWriter.close();
}
/**