Skip to content

Provide back compatible StringContains constructors #259

@philwebb

Description

@philwebb

Commit 639b99e changed the public constructors of StringContains StringEndsWith and StringStartsWith so that they now required an ignoreCase flag. This unfortunately can break anyone that happens to be calling those constructors directly rather than using the static factory methods.

Could additional constructors please be provided alongside the new ones so that Hamcrest 2.x remains compatible with earlier versions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions