Change pronoun in execption from "his" to "its"
This commit is contained in:
committed by
Alexander Udalov
parent
f85ad41674
commit
a1ceaa9e44
@@ -93,7 +93,7 @@ class ModuleDescriptorImpl @JvmOverloads constructor(
|
|||||||
private val packageFragmentProviderForWholeModuleWithDependencies by lazy {
|
private val packageFragmentProviderForWholeModuleWithDependencies by lazy {
|
||||||
val moduleDependencies = dependencies.sure { "Dependencies of module $id were not set before querying module content" }
|
val moduleDependencies = dependencies.sure { "Dependencies of module $id were not set before querying module content" }
|
||||||
val dependenciesDescriptors = moduleDependencies.allDependencies
|
val dependenciesDescriptors = moduleDependencies.allDependencies
|
||||||
assert(this in dependenciesDescriptors) { "Module $id is not contained in his own dependencies, this is probably a misconfiguration" }
|
assert(this in dependenciesDescriptors) { "Module $id is not contained in its own dependencies, this is probably a misconfiguration" }
|
||||||
dependenciesDescriptors.forEach { dependency ->
|
dependenciesDescriptors.forEach { dependency ->
|
||||||
assert(dependency.isInitialized) {
|
assert(dependency.isInitialized) {
|
||||||
"Dependency module ${dependency.id} was not initialized by the time contents of dependent module ${this.id} were queried"
|
"Dependency module ${dependency.id} was not initialized by the time contents of dependent module ${this.id} were queried"
|
||||||
|
|||||||
Reference in New Issue
Block a user