diff options
author | Muxi Yan <mxyan@google.com> | 2018-12-14 13:47:33 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-12-14 13:47:58 -0800 |
commit | 653160d8067e648c94c7ab095dc7fe4bbe1f3271 (patch) | |
tree | b62a242308db8d10e19df6931b713a6d2633af30 /src/objective-c | |
parent | b4ccbdb124e11dd740cd042cfab88aa38e34398d (diff) |
Make NSMutableDictionary annotation right
Diffstat (limited to 'src/objective-c')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h index f36b814cec..d4d16024fa 100644 --- a/src/objective-c/GRPCClient/GRPCCall.h +++ b/src/objective-c/GRPCClient/GRPCCall.h @@ -370,11 +370,11 @@ DEPRECATED_MSG_ATTRIBUTE("Use NSDictionary or NSMutableDictionary instead.") @protocol GRPCRequestHeaders<NSObject> @property(nonatomic, readonly) NSUInteger count; -- (id)objectForKeyedSubscript:(id)key; -- (void)setObject:(id)obj forKeyedSubscript:(id)key; +- (nullable id)objectForKeyedSubscript:(nonnull id)key; +- (void)setObject:(nonnull id)obj forKeyedSubscript:(nonnull id)key; - (void)removeAllObjects; -- (void)removeObjectForKey:(id)key; +- (void)removeObjectForKey:(nonnull id)key; @end #pragma clang diagnostic push |