summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/java/com/wireguard/android/model
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-09-16 10:37:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-09-16 10:37:21 +0200
commit8b9a40b3d751cf723c822e3ca317735a99f09cab (patch)
tree22889ac77bc8a52f1f759cf5f35aa135e803db3a /ui/src/main/java/com/wireguard/android/model
parent4b36df504c13dbd8cbcdc2f8a324d07a1e5b3837 (diff)
global: lint codebase with recent changes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/java/com/wireguard/android/model')
-rw-r--r--ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt
index 963ae12b..89ad9a67 100644
--- a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt
+++ b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt
@@ -73,7 +73,7 @@ class ObservableTunnel internal constructor(
var config = config
get() {
if (field == null)
- // Opportunistically fetch this if we don't have a cached one, and rely on data bindings to update it eventually
+ // Opportunistically fetch this if we don't have a cached one, and rely on data bindings to update it eventually
GlobalScope.launch(Dispatchers.Main.immediate) {
try {
manager.getTunnelConfig(this@ObservableTunnel)
@@ -109,7 +109,7 @@ class ObservableTunnel internal constructor(
var statistics: Statistics? = null
get() {
if (field == null || field?.isStale != false)
- // Opportunistically fetch this if we don't have a cached one, and rely on data bindings to update it eventually
+ // Opportunistically fetch this if we don't have a cached one, and rely on data bindings to update it eventually
GlobalScope.launch(Dispatchers.Main.immediate) {
try {
manager.getTunnelStatistics(this@ObservableTunnel)