Skip to content

Commit

Permalink
[bugfix] Cardinality should return MANY not ONE_OR_MORE when there is…
Browse files Browse the repository at this point in the history
… 1+n items
  • Loading branch information
adamretter committed Sep 2, 2018
1 parent c262649 commit 24a7b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/exist/xquery/value/AbstractSequence.java
Expand Up @@ -62,7 +62,7 @@ public int getCardinality() {
return Cardinality.EXACTLY_ONE;
}
if (hasMany()) {
return Cardinality.ONE_OR_MORE;
return Cardinality.MANY;
}
throw new IllegalArgumentException("Illegal argument");
}
Expand Down

0 comments on commit 24a7b91

Please sign in to comment.