Minor, take List instead of Iterable in convertClasspathRoots

To emphasize that the order is important
This commit is contained in:
Alexander Udalov
2017-07-05 16:29:57 +03:00
parent 0f06140a3d
commit ec6e4f2469
@@ -57,7 +57,7 @@ internal class ClasspathRootsResolver(
data class RootsAndModules(val roots: List<JavaRoot>, val modules: List<JavaModule>)
fun convertClasspathRoots(contentRoots: Iterable<ContentRoot>): RootsAndModules {
fun convertClasspathRoots(contentRoots: List<ContentRoot>): RootsAndModules {
val result = mutableListOf<JavaRoot>()
val modules = ArrayList<JavaModule>()