Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee1bb7e

Browse files
Fixed some java-ified Kotlin
1 parent 8f1f586 commit ee1bb7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appindexing/app/src/main/java/com/google/firebase/example/appindexing/kotlin/AppIndexingUpdateService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ class AppIndexingUpdateService : JobIntentService() {
4646
// batch insert indexable notes into index
4747
try {
4848
Tasks.await(FirebaseAppIndex.getInstance().update(*notesArr))
49-
} catch (ExecutionException e) {
49+
} catch (e: ExecutionException) {
5050
// update failed
51-
} catch (InterruptedException e) {
51+
} catch (e: InterruptedException) {
5252
// await was interrupted
5353
}
5454
}

0 commit comments

Comments
 (0)