Typo while correcting for feedback

This commit is contained in:
John Luo 2017-11-20 17:19:50 -08:00
parent 19e943e6b9
commit a24ae8bd16
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.ResponseCaching.Internal
{ {
internal static StringBuilder AppendUpperInvariant(this StringBuilder builder, string value) internal static StringBuilder AppendUpperInvariant(this StringBuilder builder, string value)
{ {
if (string.IsNullOrEmpty(value)) if (!string.IsNullOrEmpty(value))
{ {
builder.EnsureCapacity(builder.Length + value.Length); builder.EnsureCapacity(builder.Length + value.Length);
for (var i = 0; i < value.Length; i++) for (var i = 0; i < value.Length; i++)