We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
?
!!
?)!!
Often when I convert from Java to Kotlin, I see something like this:
foo((value as Boolean?)!!)
Instead, it should be like this:
foo(value as Boolean)
If foo is defined only as foo(Boolean) , it could even be replaced in this case to just:
foo
foo(Boolean)
foo(value)
Can you please add this ? I don't know of similar cases, but maybe there are some...
The text was updated successfully, but these errors were encountered:
Yes! Any chain with ?s inside looks suspicious when ends with !!.
Sorry, something went wrong.
You say you know of other, similar cases?
No branches or pull requests
Often when I convert from Java to Kotlin, I see something like this:
Instead, it should be like this:
If
foo
is defined only asfoo(Boolean)
, it could even be replaced in this case to just:Can you please add this ? I don't know of similar cases, but maybe there are some...
The text was updated successfully, but these errors were encountered: