aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-19 09:16:26 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-19 09:16:26 -0800
commit25e73664136ea01e2b8a64149a97e782c57d9f7d (patch)
tree17890f21ecbc91416390c33e50d29a39e4d84148 /src/objective-c/ProtoRPC
parent3f57e3451bf4a3687e70e92fc218ea25ff7a17c9 (diff)
Revert "Rename getTokenWithHandler"
Since the renamed protocol is breaking people and is not general enough, we revert the rename and leave the work to interceptor This reverts commit 92db5fc72488f9d62b81ee311a79832df787f3ef.
Diffstat (limited to 'src/objective-c/ProtoRPC')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.m b/src/objective-c/ProtoRPC/ProtoRPC.m
index abf224c3cf..48a38bd35a 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.m
+++ b/src/objective-c/ProtoRPC/ProtoRPC.m
@@ -175,7 +175,7 @@ static NSError *ErrorForBadProto(id proto, Class expectedClass, NSError *parsing
}
- (void)writeMessage:(GPBMessage *)message {
- NSAssert([message isKindOfClass:[GPBMessage class]], @"Parameter message must be a GPBMessage");
+ NSAssert([message isKindOfClass:[GPBMessage class]]);
if (![message isKindOfClass:[GPBMessage class]]) {
NSLog(@"Failed to send a message that is non-proto.");
return;