Skip to content

Conversation

@sleberknight
Copy link
Contributor

  • Change DataFormatMatcher#getMatchedFormatName so it does what
    the Javadoc says, because otherwise it throws a NullPointerException
    when there is no match (and the _match field is null)
  • Added tests for when there is a match, and when there isn't

* Change DataFormatMatcher#getMatchedFormatName so it does what
  the Javadoc says, because otherwise it throws a NullPointerException
  when there is no match (and the _match field is null)
* Added tests for when there is a match, and when there isn't
@cowtowncoder
Copy link
Member

Yes, makes total change. Will merge as suggested.

@cowtowncoder cowtowncoder merged commit e86c5a1 into FasterXML:2.11 Jan 10, 2020
cowtowncoder pushed a commit that referenced this pull request Jan 10, 2020
#591)

Change DataFormatMatcher#getMatchedFormatName so it does what the Javadoc says to avoid NPE for non-match; add unit tests to verify.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants