From 55f615f8d6211b8f1f299742cfa7e8d5f648b69e Mon Sep 17 00:00:00 2001 From: Stacey Richards Date: Sat, 15 May 2021 10:25:35 +1200 Subject: [PATCH] Fix spelling of iff to if in comments. --- .../example/android/advancedcoroutines/PlantListViewModel.kt | 2 +- .../example/android/advancedcoroutines/PlantListViewModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced-coroutines-codelab/finished_code/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt b/advanced-coroutines-codelab/finished_code/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt index 9de4e4ac..e69fc10d 100644 --- a/advanced-coroutines-codelab/finished_code/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt +++ b/advanced-coroutines-codelab/finished_code/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt @@ -138,7 +138,7 @@ class PlantListViewModel internal constructor( } /** - * Return true iff the current list is filtered. + * Return true if the current list is filtered. */ fun isFiltered() = growZone.value != NoGrowZone diff --git a/advanced-coroutines-codelab/start/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt b/advanced-coroutines-codelab/start/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt index 00033382..0b92f8ed 100644 --- a/advanced-coroutines-codelab/start/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt +++ b/advanced-coroutines-codelab/start/src/main/java/com/example/android/advancedcoroutines/PlantListViewModel.kt @@ -102,7 +102,7 @@ class PlantListViewModel internal constructor( } /** - * Return true iff the current list is filtered. + * Return true if the current list is filtered. */ fun isFiltered() = growZone.value != NoGrowZone