Minor: drop unnecessary wrapper for utility function

^KT-39734
This commit is contained in:
Pavel Kirpichenkov
2020-08-01 12:29:44 +03:00
parent 1ff064d98d
commit 54811613f4
3 changed files with 21 additions and 23 deletions
@@ -7,7 +7,7 @@ package org.jetbrains.kotlin.idea.caches.project
import com.intellij.openapi.util.ModificationTracker
import org.jetbrains.kotlin.idea.caches.resolve.ResolutionAnchorCacheService
import org.jetbrains.kotlin.idea.caches.trackers.ResolutionAnchorModificationCountService
import org.jetbrains.kotlin.idea.caches.trackers.getLatestModificationCount
class ResolutionAnchorAwareLibraryModificationTracker(
private val libraryInfo: LibraryInfo,
@@ -16,6 +16,6 @@ class ResolutionAnchorAwareLibraryModificationTracker(
val anchorDependencyModules = ResolutionAnchorCacheService.getInstance(libraryInfo.project)
.getDependencyResolutionAnchors(libraryInfo)
.map { it.module }
return ResolutionAnchorModificationCountService.getLatestModificationCount(anchorDependencyModules)
return getLatestModificationCount(anchorDependencyModules)
}
}