Skip to content

Commit 91520e0

Browse files
simplify property initialization (#2666)
1 parent 441f89a commit 91520e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StackExchange.Redis/RedisServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public Task FlushDatabaseAsync(int database = -1, CommandFlags flags = CommandFl
330330
public ServerCounters GetCounters() => server.GetCounters();
331331

332332
private static IGrouping<string, KeyValuePair<string, string>>[] InfoDefault =>
333-
Enumerable.Empty<KeyValuePair<string, string>>().GroupBy(k => k.Key).ToArray();
333+
Array.Empty<IGrouping<string, KeyValuePair<string, string>>>();
334334

335335
public IGrouping<string, KeyValuePair<string, string>>[] Info(RedisValue section = default, CommandFlags flags = CommandFlags.None)
336336
{

0 commit comments

Comments
 (0)