Skip to content

Nit: Remove vestigial safe call in jvm Exceptions.kt #4406

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

kyay10
Copy link

@kyay10 kyay10 commented Apr 7, 2025

Looking at the git diff, seems like this change was first made to address job being null after deserialization, but then a commit afterwards made job a truly non-nullable computed property based on _job, thus this safe call is unnecessary and misleading. This was likely overlooked in the latter commit since everything compiled and ran just fine

Copy link
Collaborator

@dkhalanskyjb dkhalanskyjb left a comment

Choose a reason for hiding this comment

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

The change looks good. Please target the develop branch, and we can merge it.

@kyay10 kyay10 changed the base branch from master to develop April 7, 2025 07:45
@kyay10
Copy link
Author

kyay10 commented Apr 7, 2025

@dkhalanskyjb Done!

@dkhalanskyjb dkhalanskyjb merged commit 1a82e0c into Kotlin:develop Apr 8, 2025
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