Skip to content

Commit

Permalink
Renamed "RandomUUIDSQLMappingFunction" to "RandomUUIDMapping"
Browse files Browse the repository at this point in the history
*This commit is related to issue #529 [1]*

[1] #529
  • Loading branch information
JaniruTEC committed Apr 13, 2024
1 parent db2edda commit eae6c03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import java.util.UUID

object SQLiteCacheControl {

object RandomUUIDSQLMappingFunction : SQLMappingFunction {
object RandomUUIDMapping : SQLMappingFunction {

private val newIdentifier: String
get() = UUID.randomUUID().toString()
Expand All @@ -17,5 +17,5 @@ object SQLiteCacheControl {
}
}

fun SupportSQLiteOpenHelper.Factory.asCacheControlled(): SupportSQLiteOpenHelper.Factory = asMapped(RandomUUIDSQLMappingFunction)
fun SupportSQLiteOpenHelper.Factory.asCacheControlled(): SupportSQLiteOpenHelper.Factory = asMapped(RandomUUIDMapping)
}

0 comments on commit eae6c03

Please sign in to comment.