if (featureGroups != null
&& sequenceFeatures[sfindex].featureGroup != null
- &&
- featureGroups.containsKey(sequenceFeatures[sfindex].featureGroup)
+ &&
+ sequenceFeatures[sfindex].featureGroup.length()!=0
+ && featureGroups.containsKey(sequenceFeatures[sfindex].featureGroup)
&&
! ( (Boolean) featureGroups.get(sequenceFeatures[sfindex].
featureGroup)).
if (!allGroups.contains(group))
{
allGroups.addElement(group);
- if (checkGroupState(group))
+ if (group!=null)
{
- // continue; // skip this group's feature - we've done it already ?
+ checkGroupState(group);
}
}
}
if (group == null || fr.featureGroups.get(group) == null ||
( (Boolean) fr.featureGroups.get(group)).booleanValue())
{
- checkGroupState(group);
+ if (group!=null)
+ checkGroupState(group);
type = tmpfeatures[index].getType();
if (!visibleChecks.contains(type))
{