Shouldn't <https://github.com/JetBrains/kotlin/blo...
# intellij
k
Shouldn't https://github.com/JetBrains/kotlin/blob/master/idea/src/org/jetbrains/kotlin/idea/intentions/ReplaceArrayEqualityOpWithArraysEqualsIntention.kt use
contentEquals
instead of
Arrays.equals
? The benefit would be platform independence.
y
@mglukhikh
m
Yes, probably it's better solution
k
@mglukhikh should I create an issue?
m
No, I think I fix it today
👍 2
Done
🎉 2
k
You could use the infix form of
contentEquals
, not sure if it's better
m
I'd say it's very questionable, so let's leave it as is.