// We have to lower-case values here to get reasonable results (in plans
// upper- and lower-case strings are used)
for (VPlanLeaf l : measurePlanLeaves) {
for (Value val : l.getMeasuredValues()) {
if (val instanceof IOrdinalValue) {
IOrdinalValue valOrd = (IOrdinalValue) val;
String ordinalString = new String(valOrd.getValue().toLowerCase());
if (measuredOrdinalValues.containsKey(ordinalString)) {
Integer oldV = measuredOrdinalValues.get(ordinalString);
measuredOrdinalValues.put(ordinalString, oldV + 1);
} else {