usedOrdinalsList.add(e.explicitOrdinal());
}
}
final int size = usedOrdinalsList.size();
final Set<Integer> usedOrdinalsSet =
<BUG>new HashSet<Integer>(usedOrdinalsList);
final List<Integer> sortedOrdinalsList =</BUG>
new ArrayList<>(usedOrdinalsList);
Collections.sort(sortedOrdinalsList);
if (usedOrdinalsSet.size() < usedOrdinalsList.size()

usedOrdinalsList.add(e.explicitOrdinal());
}
}
final int size = usedOrdinalsList.size();
final Set<Integer> usedOrdinalsSet =
new HashSet<>(usedOrdinalsList);
final List<Integer> sortedOrdinalsList =
new ArrayList<>(usedOrdinalsList);
Collections.sort(sortedOrdinalsList);
if (usedOrdinalsSet.size() < usedOrdinalsList.size()
