Skip to content

Commit

Permalink
Fix analyze issues in Messaging (#1739)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Aug 24, 2018
1 parent feb2249 commit 4555191
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Firebase/Messaging/FIRMessagingDataMessageManager.h
Expand Up @@ -46,7 +46,7 @@
* @param messageID The messageId passed in by the app to track this particular message.
* @param error The error in case FIRMessaging cannot send the message upstream.
*/
- (void)willSendDataMessageWithID:(nonnull NSString *)messageID error:(nullable NSError *)error;
- (void)willSendDataMessageWithID:(nullable NSString *)messageID error:(nullable NSError *)error;

/**
* Notify the app that FIRMessaging did successfully send it's message via the MCS
Expand Down Expand Up @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN

#pragma mark - Receive

- (NSDictionary *)processPacket:(GtalkDataMessageStanza *)packet;
- (nullable NSDictionary *)processPacket:(GtalkDataMessageStanza *)packet;
- (void)didReceiveParsedMessage:(NSDictionary *)message;

#pragma mark - Send
Expand Down
2 changes: 1 addition & 1 deletion Firebase/Messaging/FIRMessagingDataMessageManager.m
Expand Up @@ -112,7 +112,7 @@ - (void)refreshDelayedMessages {
}];
}

- (NSDictionary *)processPacket:(GtalkDataMessageStanza *)dataMessage {
- (nullable NSDictionary *)processPacket:(GtalkDataMessageStanza *)dataMessage {
NSString *category = dataMessage.category;
NSString *from = dataMessage.from;
if ([kFCMMessageCategory isEqualToString:category] ||
Expand Down
1 change: 0 additions & 1 deletion Firebase/Messaging/FIRMessagingRmq2PersistentStore.m
Expand Up @@ -286,7 +286,6 @@ - (void)openDatabase:(NSString *)dbName {
@"%@",
errorMessage);
NSAssert(NO, errorMessage);
didOpenDatabase = NO;
return;
}
[self createTableWithName:kTableOutgoingRmqMessages
Expand Down

0 comments on commit 4555191

Please sign in to comment.