Use 'new' expression in places where the type is evident for the engine (#1415)

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
DrSmugleaf
2020-11-26 00:16:55 +01:00
committed by GitHub
parent e82a83223f
commit b8e5b47e7a
242 changed files with 1171 additions and 1174 deletions

View File

@@ -39,9 +39,9 @@ namespace Robust.Server.ServerStatus
private const string Sawmill = "statushost";
private static readonly JsonSerializer JsonSerializer = new JsonSerializer();
private static readonly JsonSerializer JsonSerializer = new();
private readonly List<StatusHostHandler> _handlers = new List<StatusHostHandler>();
private readonly List<StatusHostHandler> _handlers = new();
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
[Dependency] private readonly IServerNetManager _netManager = default!;