aboutsummaryrefslogtreecommitdiff
path: root/autofill-parser/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-15 23:21:44 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-15 23:54:11 +0530
commit1040552dbfdfc9f4f55402d796af5b270a172a54 (patch)
tree546da39c2f119fcbf23a519708b5e355ca85aa18 /autofill-parser/src
parent06ae72d7718d0ec2311ee583cd98c781273c0ecb (diff)
all: spotless
Diffstat (limited to 'autofill-parser/src')
-rw-r--r--autofill-parser/src/main/java/mozilla/components/lib/publicsuffixlist/PublicSuffixList.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/autofill-parser/src/main/java/mozilla/components/lib/publicsuffixlist/PublicSuffixList.kt b/autofill-parser/src/main/java/mozilla/components/lib/publicsuffixlist/PublicSuffixList.kt
index cdf9d8de..1051125f 100644
--- a/autofill-parser/src/main/java/mozilla/components/lib/publicsuffixlist/PublicSuffixList.kt
+++ b/autofill-parser/src/main/java/mozilla/components/lib/publicsuffixlist/PublicSuffixList.kt
@@ -33,9 +33,8 @@ internal class PublicSuffixList(
private val scope: CoroutineScope = CoroutineScope(dispatcher)
) {
- private val data: PublicSuffixListData by lazy(LazyThreadSafetyMode.PUBLICATION) {
- PublicSuffixListLoader.load(context)
- }
+ private val data: PublicSuffixListData by
+ lazy(LazyThreadSafetyMode.PUBLICATION) { PublicSuffixListLoader.load(context) }
/** Prefetch the public suffix list from disk so that it is available in memory. */
fun prefetchAsync(): Deferred<Unit> = scope.async { data.run {} }