From 8b0c6a825f03d5f1a3c3460ca784cc2f52605527 Mon Sep 17 00:00:00 2001 From: Artak Mkrtchyan Date: Thu, 1 Feb 2018 16:15:46 -0800 Subject: [PATCH] Addressed review comments --- .../Formatters/TextOutputFormatter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs index fb2a07a1fb..c30901da00 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs @@ -173,7 +173,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters return result; } - return null; + return Array.Empty(); } private string GetMediaTypeWithCharset(string mediaType, Encoding encoding)