logger != null check

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3774 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
depristo 2010-07-12 23:07:14 +00:00
parent 2e445262f2
commit de969f7cc7
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public class VCFUtils {
// number, then this value should be 1. However, if the INFO field describes a pair
// of numbers, then this value should be 2 and so on. If the number of possible
// values varies, is unknown, or is unbounded, then this value should be '.'.
logger.warn("Promoting header field Number to . due to number differences in header lines: " + line + " " + other);
if ( logger != null ) logger.warn("Promoting header field Number to . due to number differences in header lines: " + line + " " + other);
compOther.setNumberToUnbounded();
} else {
throw new IllegalStateException("Incompatible header types, collision between these two types: " + line + " " + other );