This is a copy&paste problem, the string should not be referencing
bits but enums.
Change-Id: I5adc98a5db92b88bf7e20dcc6141213347858f58
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
for (EnumPair p : map.values()) {
final EnumPair conflict = positionMap.put(p.getValue(), p);
if (conflict != null) {
- throw new InvalidEnumDefinitionException(p, "Bit %s conflicts on position with bit ", conflict);
+ throw new InvalidEnumDefinitionException(p, "Enum '%s' conflicts on value with enum ", conflict);
}
}