dschneller/jbehave-eclipse-plugin — comment on commit b525b2d44560ae2f4dd41b1eb724efb80cd1b0c7
File: src/org/technbolts/jbehave/eclipse/editors/story/MarkingStoryValidator.java line 252
By Arnauld:

Shouldn't one check for the unicity of the highest priority instead ?

Pseudo:
```java
int maxPriority = selectMax(collectedPrios);
int count = collectedPrios.count(whereValue(equalTo( maxPriority )));
if(count > 1) {
....ambiguous
}
else /*if(count==1)*/ {
logger.debug("{} steps matched but only one with the highest priority for {}", candidates.size(), key);
}

```