Skip to content

Commit d369331

Browse files
refactor: rename enrichedIds
1 parent 066b592 commit d369331

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

android_sdk/src/main/java/co/optable/android_sdk/OptableIdentifiers.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import co.optable.android_sdk.core.IdentifiersEncoder
44

55
/**
66
* Immutable container for a set of user and device identifiers that can be transformed into
7-
* Optable Enriched Identifiers (EIDs).
7+
* Optable EIDs.
88
*
99
* This type accepts multiple optional identifier values. When EIDs are generated, each supported
1010
* identifier is encoded according to its identifier type (for example, some values are normalized,
@@ -55,14 +55,14 @@ data class OptableIdentifiers @JvmOverloads constructor(
5555
internal var receiveGaidAutomatically: Boolean = true
5656
}
5757

58-
private val cachedEnrichedIds: List<String> by lazy { IdentifiersEncoder.encode(this) }
58+
private val cachedEIDs: List<String> by lazy { IdentifiersEncoder.encode(this) }
5959

6060

6161
/**
6262
* Generates a list of EIDs based on the current contents of the dictionary.
6363
*/
6464
internal fun generateEIDs(): List<String> {
65-
return cachedEnrichedIds
65+
return cachedEIDs
6666
}
6767

6868
class Builder {

android_sdk/src/main/java/co/optable/android_sdk/core/IdentifiersEncoder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import java.security.MessageDigest
77
import java.util.*
88

99
/**
10-
* Utility object responsible for encoding raw identifiers into Optable Enriched Identifiers (EIDs).
10+
* Utility object responsible for encoding raw identifiers into Optable EIDs.
1111
*/
1212
object IdentifiersEncoder {
1313

android_sdk/src/test/java/co/optable/android_sdk/core/IdentifiersEncoderTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ class IdentifiersEncoderTest {
122122
}
123123

124124
private fun encode(ids: OptableIdentifiers): String {
125-
val enrichedIds = ids.generateEIDs()
126-
assertEquals("This method checks only 1 string", 1, enrichedIds.size)
127-
return enrichedIds.first()
125+
val generatedIds = ids.generateEIDs()
126+
assertEquals("This method checks only 1 string", 1, generatedIds.size)
127+
return generatedIds.first()
128128
}
129129

130130
}

0 commit comments

Comments
 (0)