Updated comment style in methods

This commit is contained in:
Prianka Liz Kariat 2023-01-16 13:02:33 +05:30
parent 30533be321
commit 8ecf77f760

View File

@ -72,7 +72,7 @@ using absl::StatusCode;
return YES; return YES;
} }
/** Converts the absl status message to an NSString. */ // Converts the absl status message to an NSString.
NSString *description = [NSString NSString *description = [NSString
stringWithCString:status.ToString(absl::StatusToStringMode::kWithNoExtraData).c_str() stringWithCString:status.ToString(absl::StatusToStringMode::kWithNoExtraData).c_str()
encoding:NSUTF8StringEncoding]; encoding:NSUTF8StringEncoding];
@ -81,8 +81,8 @@ using absl::StatusCode;
MPPTasksErrorCode errorCode = genericErrorCode; MPPTasksErrorCode errorCode = genericErrorCode;
/** Maps the absl::StatusCode to the appropriate MPPTasksErrorCode. Note: MPPTasksErrorCode omits // Maps the absl::StatusCode to the appropriate MPPTasksErrorCode. Note: MPPTasksErrorCode omits
* absl::StatusCode::kOk. */ // absl::StatusCode::kOk.
switch (status.code()) { switch (status.code()) {
case StatusCode::kCancelled: case StatusCode::kCancelled:
errorCode = MPPTasksErrorCodeCancelledError; errorCode = MPPTasksErrorCodeCancelledError;