Skip to content

Commit 9f9e1e0

Browse files
authored
remove semicolons from kotlin snippets (#423)
1 parent 746d828 commit 9f9e1e0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

analytics/app/src/main/java/com/google/firebase/example/analytics/kotlin/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ class MainActivity :
286286
// The onImpressionSuccess will be reported when the rewarded video and interstitial ad is
287287
// opened.
288288
// For banners, the impression is reported on load success. Log.d(TAG, "onImpressionSuccess" +
289-
// impressionData);
289+
// impressionData)
290290
firebaseAnalytics = Firebase.analytics
291291
firebaseAnalytics.logEvent(FirebaseAnalytics.Event.AD_IMPRESSION) {
292292
param(FirebaseAnalytics.Param.AD_PLATFORM, "ironSource")

auth/app/src/main/java/com/google/firebase/quickstart/auth/kotlin/EmailPasswordActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class EmailPasswordActivity : Activity() {
3131
// Check if user is signed in (non-null) and update UI accordingly.
3232
val currentUser = auth.currentUser
3333
if(currentUser != null){
34-
reload();
34+
reload()
3535
}
3636
}
3737
// [END on_start_check_user]

auth/app/src/main/java/com/google/firebase/quickstart/auth/kotlin/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ abstract class MainActivity : AppCompatActivity() {
6464

6565
// The user's ID, unique to the Firebase project. Do NOT use this value to
6666
// authenticate with your backend server, if you have one. Use
67-
// FirebaseUser.getToken() instead.
67+
// FirebaseUser.getIdToken() instead.
6868
val uid = it.uid
6969
}
7070
// [END get_user_profile]

database/app/src/main/java/com/google/firebase/referencecode/database/kotlin/EmulatorSuite.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class EmulatorSuite {
1111
// 10.0.2.2 is the special IP address to connect to the 'localhost' of
1212
// the host computer from an Android emulator.
1313
val database = Firebase.database
14-
database.useEmulator("10.0.2.2", 9000);
14+
database.useEmulator("10.0.2.2", 9000)
1515
// [END rtdb_emulator_connect]
1616
}
1717

0 commit comments

Comments
 (0)