Skip to content

Conversation

mattcreaser
Copy link
Member

Issue #, if available:

Description of changes:
The DateJsonUnmarshaller.getInstance() function is supposed to return an instance that can unmarshall UNIX_TIMESTAMP dates, but due to a logic error it if any other piece of code used a different format when calling DateJsonUnmarshaller getInstance(format) then that format would be returned instead.

This change ensures that the version without arguments always returns an unmarshaller for UNIX_TIMESTAMP.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mattcreaser mattcreaser requested a review from a team as a code owner May 15, 2024 14:17
tylerjroach
tylerjroach previously approved these changes May 15, 2024
@mattcreaser mattcreaser force-pushed the mattcreaser/date-unmarshaller-unix-instance branch from 7ebc54d to ff79c42 Compare May 15, 2024 14:23
@mattcreaser mattcreaser merged commit d9231da into main May 16, 2024
@mattcreaser mattcreaser deleted the mattcreaser/date-unmarshaller-unix-instance branch May 16, 2024 14:40
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.

3 participants