Skip to content

DataFormatMatcher#getMatchedFormatName throws NPE when no match exists #592

@sleberknight

Description

@sleberknight

When there is not a match in DataFormatMatcher, the _match field is null, which causes DataFormatMatcher#getMatchedFormatName to throw a NPE.

Submitted pull request #591 for your consideration, which just updates the code to match what the javadoc says, and added tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions