jocarreira / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

AllOf constructor too tightly defined #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The AllOf constructor is defined to be:

    public AllOf(Iterable<Matcher<? extends T>> matchers) {

It should be:

    public AllOf(Iterable<? extends Matcher<? extends T>> matchers) {

The same applies to AnyOf.

Original issue reported on code.google.com by nat.pr...@gmail.com on 30 Jul 2007 at 3:18

GoogleCodeExporter commented 8 years ago
And to the factory functions.

Original comment by nat.pr...@gmail.com on 30 Jul 2007 at 3:19

GoogleCodeExporter commented 8 years ago

Original comment by nat.pr...@gmail.com on 30 Jul 2007 at 3:21