[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of org.hamcrest.Matchers


when Apache Gump builds Ant it builds it against Hamcrest 2.x which used
to work fine as long as we didn't use many matchers. It looks as if one
of the breaking changes introduced with Hamcrest 2.x is the removal of
the Matchers class. See

I know we stopped monitoring Gump builds a long time ago and changing
the code to adapt to breaking changes in other libraries feels strange,
but would anybod mind if I changed the imports to ones that should work
with both Hamcrest 1.x and 2.x? I.e. replace

import static org.hamcrest.Matchers.containsString;


import static org.hamcrest.core.StringContains.containsString;



To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx