Skip to content

Commit f2f5317

Browse files
committed
refactor(android): rename self to ownExplicit in resolveExplicit
1 parent d092665 commit f2f5317

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/masking

sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/masking/MaskCollector.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ class MaskCollector(private val logger: ObserveLogger) {
209209
* signal applies.
210210
*/
211211
private fun resolveExplicit(target: MaskTarget, inherited: Boolean?, context: MaskContext): Boolean? {
212-
val self = explicitOf(target, context)
212+
val ownExplicit = explicitOf(target, context)
213213
return when {
214-
self == true || inherited == true -> true
215-
self == false || inherited == false -> false
214+
ownExplicit == true || inherited == true -> true
215+
ownExplicit == false || inherited == false -> false
216216
else -> null
217217
}
218218
}

0 commit comments

Comments
 (0)