Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DateTimeParseException ctor #402

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

armanbilge
Copy link

No description provided.

Comment on lines -59 to +63
cause: Throwable = null
cause: Throwable
) extends DateTimeException(message, cause) {

def this(message: String, parsedData: CharSequence, errorIndex: Int) =
this(message, parsedData, errorIndex, null)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't just be lazy and slap a = null 😛 it doesn't generate a binary-signature that is compatible with the JDK.

Copy link
Owner

@cquiroz cquiroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@armanbilge armanbilge closed this Nov 10, 2022
@armanbilge armanbilge reopened this Nov 10, 2022
@cquiroz cquiroz merged commit 561ded1 into cquiroz:master Nov 10, 2022
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