mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
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:
@@ -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!;
|
||||
|
||||
Reference in New Issue
Block a user