Skip to content

Commit a752e6d

Browse files
committed
Update Javadoc references from gcm to fcm.
1 parent 055df3e commit a752e6d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

firebase-messaging/src/main/java/com/google/firebase/messaging/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static final class MessagePayloadKeys {
107107
/**
108108
* Prefix "google.c" for keys that are reserved for the client library. While all the other
109109
* "google." are removed at GmsCore level, google.c keys are preserved in the intent extras, and
110-
* should be removed by the Gcm Client Library, before passing the user data to the app.
110+
* should be removed by the FCM Client Library, before passing the user data to the app.
111111
*/
112112
public static final String RESERVED_CLIENT_LIB_PREFIX = RESERVED_PREFIX + "c.";
113113

firebase-messaging/src/main/java/com/google/firebase/messaging/FirebaseMessaging.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
*
7272
* <pre>
7373
* FirebaseMessaging.getInstance().send(
74-
* new RemoteMessage.Builder(SENDER_ID + "&#64;gcm.googleapis.com")
74+
* new RemoteMessage.Builder(SENDER_ID + "&#64;fcm.googleapis.com")
7575
* .setMessageId(id)
7676
* .addData("key", "value")
7777
* .build());</pre>

firebase-messaging/src/main/java/com/google/firebase/messaging/MessagingAnalytics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
import java.util.concurrent.ExecutionException;
4444

4545
/**
46-
* Provides integration between GCM and Scion.
46+
* Provides integration between FCM and Scion.
4747
*
4848
* <p>All Scion dependencies should be kept in this class, and missing dependencies should be
4949
* handled gracefully. Instead of crashing the app if Scion has not been included in the APK we

firebase-messaging/src/main/java/com/google/firebase/messaging/RemoteMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public String getFrom() {
116116
* Gets the message destination.
117117
*
118118
* <ul>
119-
* <li>For upstream messages, this will be of the form {@code SENDER_ID@gcm.googleapis.com}.
119+
* <li>For upstream messages, this will be of the form {@code SENDER_ID@fcm.googleapis.com}.
120120
* <li>For downstream messages, this will be the Firebase installations ID (FID).
121121
* </ul>
122122
*/
@@ -298,7 +298,7 @@ public static class Builder {
298298
* Sets the destination of the message.
299299
*
300300
* @param to The destination of the message in the format of {@code
301-
* SENDER_ID@gcm.googleapis.com}. The {@code SENDER_ID} should be the FirebaseApp gcm sender
301+
* SENDER_ID@fcm.googleapis.com}. The {@code SENDER_ID} should be the FirebaseApp gcm sender
302302
* id.
303303
*/
304304
public Builder(@NonNull String to) {

0 commit comments

Comments
 (0)