Change pronoun in execption from "his" to "its"

This commit is contained in:
Keegan Witt
2021-03-19 18:24:00 -04:00
committed by Alexander Udalov
parent f85ad41674
commit a1ceaa9e44
@@ -93,7 +93,7 @@ class ModuleDescriptorImpl @JvmOverloads constructor(
private val packageFragmentProviderForWholeModuleWithDependencies by lazy {
val moduleDependencies = dependencies.sure { "Dependencies of module $id were not set before querying module content" }
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 ->
assert(dependency.isInitialized) {
"Dependency module ${dependency.id} was not initialized by the time contents of dependent module ${this.id} were queried"