INumberListExpression expr = (INumberListExpression) value;
List<Number> list = expr.getNumberList(context, this);
IntArrayFS array = FSCollectionFactory.createIntArray(cas, RutaListUtils.toIntArray(list));
annotation.setFeatureValue(feature, array);
}
<BUG>} else if (range.equals(UIMAConstants.TYPE_DOUBLE)) {
</BUG>
if (value instanceof INumberExpression) {
INumberExpression numberExpr = (INumberExpression) value;
double v = numberExpr.getDoubleValue(context, this);

INumberListExpression expr = (INumberListExpression) value;
List<Number> list = expr.getNumberList(context, this);
IntArrayFS array = FSCollectionFactory.createIntArray(cas, RutaListUtils.toIntArray(list));
annotation.setFeatureValue(feature, array);
}
} else if (rangeName.equals(UIMAConstants.TYPE_DOUBLE)) {
if (value instanceof INumberExpression) {
INumberExpression numberExpr = (INumberExpression) value;
double v = numberExpr.getDoubleValue(context, this);
