mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix typo: count of files should be less than const
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ class PredictionProvider(private val minProb: Double = 0.55) {
|
||||
if (relatedFiles.size > MAX_RELATED_FILES_COUNT) {
|
||||
break
|
||||
}
|
||||
if (oldCommit.files.size > MAX_HISTORY_COMMIT_SIZE) {
|
||||
if (oldCommit.files.size < MAX_HISTORY_COMMIT_SIZE) {
|
||||
oldCommit.files.filter { it !in commit.files }.forEach { relatedFile ->
|
||||
relatedFiles.getOrPut(relatedFile) { mutableSetOf() }.add(oldCommit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user