Permalink
Browse files

Fix nullability specifier warnings.

  • Loading branch information...
stuconnolly committed Oct 8, 2018
1 parent 7d9ba0f commit 5d1d859a80a8935e223f10d5b085bce4d8dfbf1f
Showing with 4 additions and 4 deletions.
  1. +2 −2 Source/SPCreateDatabaseInfo.h
  2. +2 −2 Source/SPDatabaseAction.h
@@ -36,7 +36,7 @@
}
@property (nonnull, readwrite, retain) NSString *databaseName;
@property (nullable, readwrite, retain) NSString *defaultEncoding;
@property (nullable, readwrite, retain) NSString *defaultCollation;
@property (nonnull, readwrite, retain) NSString *defaultEncoding;
@property (nonnull, readwrite, retain) NSString *defaultCollation;
@end
@@ -59,7 +59,7 @@
*
* @see createDatabase:withEncoding:collation:
*/
- (BOOL)createDatabase:(SPCreateDatabaseInfo *)databaseInfo;
- (BOOL)createDatabase:(SPCreateDatabaseInfo * _Nonnull)databaseInfo;
/**
* This method creates a new database.
@@ -70,6 +70,6 @@
*
* @return YES on success, otherwise NO
*/
- (BOOL)createDatabase:(NSString *)database withEncoding:(NSString *)encoding collation:(NSString *)collation;
- (BOOL)createDatabase:(NSString * _Nonnull)database withEncoding:(NSString * _Nonnull)encoding collation:(NSString * _Nonnull)collation;
@end

0 comments on commit 5d1d859

Please sign in to comment.