Remove nullability specifiers

pull/11660/head
thassss 8 years ago committed by Muxi Yan
parent 69776d4b3f
commit 0acc9e6b68
  1. 2
      src/objective-c/GRPCClient/private/GRPCHost.h
  2. 2
      src/objective-c/GRPCClient/private/GRPCHost.m
  3. 2
      src/objective-c/GRPCClient/private/GRPCWrappedCall.h
  4. 2
      src/objective-c/GRPCClient/private/GRPCWrappedCall.m

@ -69,7 +69,7 @@ struct grpc_channel_credentials;
/** Create a grpc_call object to the provided path on this host. */
- (nullable struct grpc_call *)unmanagedCallWithPath:(NSString *)path
serverName:(nullable NSString *)serverName
serverName:(NSString *)serverName
completionQueue:(GRPCCompletionQueue *)queue;
// TODO: There's a race when a new RPC is coming through just as an existing one is getting

@ -135,7 +135,7 @@ static GRPCConnectivityMonitor *connectivityMonitor = nil;
}
- (nullable grpc_call *)unmanagedCallWithPath:(NSString *)path
serverName:(nullable NSString *)serverName
serverName:(NSString *)serverName
completionQueue:(GRPCCompletionQueue *)queue {
GRPCChannel *channel;
// This is racing -[GRPCHost disconnect].

@ -90,7 +90,7 @@
@interface GRPCWrappedCall : NSObject
- (instancetype)initWithHost:(NSString *)host
serverName:(nullable NSString *)serverName
serverName:(NSString *)serverName
path:(NSString *)path NS_DESIGNATED_INITIALIZER;
- (void)startBatchWithOperations:(NSArray *)ops errorHandler:(void(^)())errorHandler;

@ -255,7 +255,7 @@
}
- (instancetype)initWithHost:(NSString *)host
serverName:(nullable NSString *)serverName
serverName:(NSString *)serverName
path:(NSString *)path {
if (!path || !host) {
[NSException raise:NSInvalidArgumentException

Loading…
Cancel
Save