We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6314b40 commit 71c7dbcCopy full SHA for 71c7dbc
1 file changed
src/main/kotlin/io/openapiprocessor/intellij/ModuleFinder.kt
@@ -36,7 +36,7 @@ class ModuleFinder(private val project: Project) {
36
val matches = matchPaths(Path.of(source), sourceRoots)
37
38
if (matches.isNotEmpty()) {
39
- results.put(moduleEntity, matches)
+ results[moduleEntity] = matches
40
}
41
42
@@ -59,7 +59,7 @@ class ModuleFinder(private val project: Project) {
59
val min = min(sourceItems.size, canSplit.size)
60
val matching = mutableListOf<String>()
61
62
- for (i in 0.. min - 1) {
+ for (i in 0..< min) {
63
if (sourceItems[i] != canSplit[i]) {
64
break
65
0 commit comments