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:
parent
2e445262f2
commit
de969f7cc7
|
|
@ -172,7 +172,7 @@ public class VCFUtils {
|
||||||
// number, then this value should be 1. However, if the INFO field describes a pair
|
// 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
|
// 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 '.'.
|
// 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();
|
compOther.setNumberToUnbounded();
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException("Incompatible header types, collision between these two types: " + line + " " + other );
|
throw new IllegalStateException("Incompatible header types, collision between these two types: " + line + " " + other );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue