From 3a7f2ff5c51608a5f8647039cdd34bb51eb338aa Mon Sep 17 00:00:00 2001 From: Sergey Rostov Date: Thu, 13 Sep 2018 16:26:16 +0300 Subject: [PATCH] JPS, minor: rename KotlinModuleBuildTarget.updateSourcesList to computeSourcesList Original commit: 81cf3fbc28e8713276366784ac96d2e35ed12748 --- .../jetbrains/kotlin/jps/targets/KotlinModuleBuildTarget.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jps/jps-plugin/src/org/jetbrains/kotlin/jps/targets/KotlinModuleBuildTarget.kt b/jps/jps-plugin/src/org/jetbrains/kotlin/jps/targets/KotlinModuleBuildTarget.kt index 393134fa370..69e22c38c16 100644 --- a/jps/jps-plugin/src/org/jetbrains/kotlin/jps/targets/KotlinModuleBuildTarget.kt +++ b/jps/jps-plugin/src/org/jetbrains/kotlin/jps/targets/KotlinModuleBuildTarget.kt @@ -152,13 +152,13 @@ abstract class KotlinModuleBuildTarget intern get() = _sources.value @Volatile - private var _sources: Lazy> = lazy { updateSourcesList(jpsGlobalContext) } + private var _sources: Lazy> = lazy { computeSourcesList(jpsGlobalContext) } fun nextRound(localContext: CompileContext) { - _sources = lazy { updateSourcesList(localContext) } + _sources = lazy { computeSourcesList(localContext) } } - private fun updateSourcesList(localContext: CompileContext): Map { + private fun computeSourcesList(localContext: CompileContext): Map { val result = mutableMapOf() val moduleExcludes = module.excludeRootsList.urls.mapTo(java.util.HashSet(), JpsPathUtil::urlToFile)