Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
7d4c9c75
Commit
7d4c9c75
authored
6 years ago
by
Julia Beliaeva
Browse files
Options
Download
Email Patches
Plain Diff
[vcs-log] use getValue to get rid of the assertion
parent
6fda70d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/vcs-log/impl/src/com/intellij/vcs/log/visible/VcsLogFiltererImpl.kt
+1
-1
...pl/src/com/intellij/vcs/log/visible/VcsLogFiltererImpl.kt
with
1 addition
and
1 deletion
+1
-1
platform/vcs-log/impl/src/com/intellij/vcs/log/visible/VcsLogFiltererImpl.kt
+
1
-
1
View file @
7d4c9c75
...
...
@@ -307,7 +307,7 @@ class VcsLogFiltererImpl(private val logProviders: Map<VirtualFile, VcsLogProvid
filterCollection
.
with
(
VcsLogFilterObject
.
fromPaths
(
filesForRoot
))
}
val
matchingCommits
=
providers
[
root
]
!!
.
getCommitsMatchingFilter
(
root
,
rootSpecificCollection
,
maxCount
)
val
matchingCommits
=
providers
.
getValue
(
root
)
.
getCommitsMatchingFilter
(
root
,
rootSpecificCollection
,
maxCount
)
commits
.
addAll
(
matchingCommits
.
map
{
commit
->
CommitId
(
commit
.
id
,
root
)
})
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment