From 1040552dbfdfc9f4f55402d796af5b270a172a54 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 15 Nov 2021 23:21:44 +0530 Subject: all: spotless --- .../java/mozilla/components/lib/publicsuffixlist/PublicSuffixList.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'autofill-parser/src/main/java') 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 = scope.async { data.run {} } -- cgit v1.2.3