Commas in doc comments

This commit is contained in:
John Luo 2018-02-22 10:44:59 -08:00
parent ab0dbaa347
commit b85ed9d5cd
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Http
} }
/// <summary> /// <summary>
/// Quotes any values containing comas, and then coma joins all of the values with any existing values. /// Quotes any values containing commas, and then comma joins all of the values with any existing values.
/// </summary> /// </summary>
/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param> /// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param>
/// <param name="key">The header name.</param> /// <param name="key">The header name.</param>
@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Http
} }
/// <summary> /// <summary>
/// Quotes any values containing comas, and then coma joins all of the values. /// Quotes any values containing commas, and then comma joins all of the values.
/// </summary> /// </summary>
/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param> /// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param>
/// <param name="key">The header name.</param> /// <param name="key">The header name.</param>

View File

@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Http.Internal
} }
} }
// Quote items that contain comas and are not already quoted. // Quote items that contain commas and are not already quoted.
private static string QuoteIfNeeded(string value) private static string QuoteIfNeeded(string value)
{ {
if (!string.IsNullOrEmpty(value) && if (!string.IsNullOrEmpty(value) &&