diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-02-16 17:05:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-16 17:05:05 +0100 |
| commit | 64a4f259a20408fe0a3c954d71d2b975d48c3d3e (patch) | |
| tree | b991ccbee7ac7a6250e4db60252557991724b3ad /MediaBrowser.Model/System | |
| parent | 3a5bbcf2a879dc78eda969e3e91c02f79e60bf0e (diff) | |
| parent | 25c2267a89af5c2e82774c638cdad0defcc894b5 (diff) | |
Merge branch 'master' into async
Diffstat (limited to 'MediaBrowser.Model/System')
| -rw-r--r-- | MediaBrowser.Model/System/PublicSystemInfo.cs | 6 | ||||
| -rw-r--r-- | MediaBrowser.Model/System/SystemInfo.cs | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/MediaBrowser.Model/System/PublicSystemInfo.cs b/MediaBrowser.Model/System/PublicSystemInfo.cs index accdc9e60..d97eda352 100644 --- a/MediaBrowser.Model/System/PublicSystemInfo.cs +++ b/MediaBrowser.Model/System/PublicSystemInfo.cs @@ -24,12 +24,12 @@ namespace MediaBrowser.Model.System /// Gets or sets the server version. /// </summary> /// <value>The version.</value> - public string Version { get; set; } + public string Version { get; set; } /// <summary> - /// Gets or sets the operating sytem. + /// Gets or sets the operating system. /// </summary> - /// <value>The operating sytem.</value> + /// <value>The operating system.</value> public string OperatingSystem { get; set; } /// <summary> diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.cs index 26f735330..d9ed68b27 100644 --- a/MediaBrowser.Model/System/SystemInfo.cs +++ b/MediaBrowser.Model/System/SystemInfo.cs @@ -1,3 +1,4 @@ +using System; using System.Runtime.InteropServices; using MediaBrowser.Model.Updates; @@ -136,7 +137,7 @@ namespace MediaBrowser.Model.System /// </summary> public SystemInfo() { - CompletedInstallations = new InstallationInfo[] { }; + CompletedInstallations = Array.Empty<InstallationInfo>(); } } } |
