}
private List<AlignmentAnnotation> getAlignmentAnnotations(String calcId,
- String label, String description, boolean nullWildcard)
+ String label, String description, boolean ignoreDescription)
{
List<AlignmentAnnotation> result = new ArrayList<>();
if (this.annotation != null)
{
for (AlignmentAnnotation ann : annotation)
{
- if (((nullWildcard && calcId == null)
- || (ann.calcId != null && ann.calcId.equals(calcId)))
- && ((nullWildcard && label == null)
- || (ann.label != null && ann.label.equals(label)))
- && ((nullWildcard && description == null)
+ if ((ann.calcId != null && ann.calcId.equals(calcId))
+ && (ann.label != null && ann.label.equals(label))
+ && ((ignoreDescription && description == null)
|| (ann.description != null
&& ann.description.equals(description))))