Remove double null check (#5862)

Address #5834
This commit is contained in:
Stefan Nikolei 2017-02-28 21:00:23 +01:00 committed by Doug Bunting
parent ae61c7005c
commit 0e914e55fa
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
throw new ArgumentNullException(nameof(item)); throw new ArgumentNullException(nameof(item));
} }
Add(item?.ToString()); Add(item.ToString());
} }
/// <summary> /// <summary>