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

KT 13962: Intention to replace Java collection constructor calls with function calls from stdlib (ArrayList() → arrayListOf()) #2185

Merged
merged 1 commit into from Apr 5, 2019

Conversation

devbridie
Copy link
Contributor

YouTrack: https://youtrack.jetbrains.com/issue/KT-13962

Example of this intention:

fun foo() {
    var list: ArrayList<Int> = ArrayList()
}

to

fun foo() {
    var list: ArrayList<Int> = arrayListOf()
}

@abelkov abelkov added the Inspections Intentions and Inspections label Mar 15, 2019
@devbridie devbridie force-pushed the KT-13962 branch 3 times, most recently from 7efb984 to 5d9ad57 Compare March 20, 2019 14:46
… function calls from stdlib (ArrayList() → arrayListOf())
@devbridie
Copy link
Contributor Author

Updated and rebased to current master.

@mglukhikh mglukhikh merged commit 0e716fd into JetBrains:master Apr 5, 2019
@mglukhikh
Copy link
Contributor

Merged 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Inspections Intentions and Inspections
Projects
None yet
4 participants