Skip to content

Replace use of indexOf() and comparison against -1 with includes() and boolean comparison #111

@dlongley

Description

@dlongley

We should replace any indexOf() and a comparison against -1 with the more semantically useful includes() and a boolean comparison. There is at least one place where this happens (in the XsdDateTimeEncoder), there might be others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions