The Free Software Media System - Server Backend & API
Remove useless nullable directives
Bond_009383c2d737453
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.csindex ba62857eb9..b0921cbd82 100644--- a/Emby.Server.Implementations/Updates/InstallationManager.cs+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs@@ -1,7 +1,3 @@-#nullable disable--#nullable enable-using System;using System.Collections.Concurrent;using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Drawing/IImageEncoder.cs b/MediaBrowser.Controller/Drawing/IImageEncoder.csindex 800f7a8bb9..4e640d4215 100644--- a/MediaBrowser.Controller/Drawing/IImageEncoder.cs+++ b/MediaBrowser.Controller/Drawing/IImageEncoder.cs@@ -1,7 +1,4 @@-#nullable disable-#pragma warning disable CS1591-#nullable enableusing System;using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Drawing/IImageProcessor.cs b/MediaBrowser.Controller/Drawing/IImageProcessor.csindex 9bfead8b3b..c7f61a90bb 100644--- a/MediaBrowser.Controller/Drawing/IImageProcessor.cs+++ b/MediaBrowser.Controller/Drawing/IImageProcessor.cs@@ -1,7 +1,4 @@-#nullable disable-#pragma warning disable CS1591-#nullable enableusing System;using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Drawing/ImageHelper.cs b/MediaBrowser.Controller/Drawing/ImageHelper.csindex 204175ed5a..9ef92bc981 100644--- a/MediaBrowser.Controller/Drawing/ImageHelper.cs+++ b/MediaBrowser.Controller/Drawing/ImageHelper.cs@@ -1,7 +1,4 @@-#nullable disable-#pragma warning disable CS1591-#nullable enableusing MediaBrowser.Model.Drawing;diff --git a/MediaBrowser.Controller/Entities/BaseItemExtensions.cs b/MediaBrowser.Controller/Entities/BaseItemExtensions.csindex c39b18891f..89ad392a4b 100644--- a/MediaBrowser.Controller/Entities/BaseItemExtensions.cs+++ b/MediaBrowser.Controller/Entities/BaseItemExtensions.cs@@ -1,6 +1,3 @@-#nullable disable--#nullable enable#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/TimerEventInfo.cs b/MediaBrowser.Controller/LiveTv/TimerEventInfo.csindex 728387c56d..92eb0be9c0 100644--- a/MediaBrowser.Controller/LiveTv/TimerEventInfo.cs+++ b/MediaBrowser.Controller/LiveTv/TimerEventInfo.cs@@ -1,6 +1,3 @@-#nullable disable--#nullable enable#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Net/IWebSocketConnection.cs b/MediaBrowser.Controller/Net/IWebSocketConnection.csindex f1ba1ec720..c8c5caf809 100644--- a/MediaBrowser.Controller/Net/IWebSocketConnection.cs+++ b/MediaBrowser.Controller/Net/IWebSocketConnection.cs@@ -1,9 +1,5 @@-#nullable disable-#pragma warning disable CS1591-#nullable enable-using System;using System.Net;using System.Net.WebSockets;diff --git a/MediaBrowser.Model/Configuration/PathSubstitution.cs b/MediaBrowser.Model/Configuration/PathSubstitution.csindex bffaa85945..2c9b5f005c 100644--- a/MediaBrowser.Model/Configuration/PathSubstitution.cs+++ b/MediaBrowser.Model/Configuration/PathSubstitution.cs@@ -1,5 +1,3 @@-#nullable enable-namespace MediaBrowser.Model.Configuration{/// <summary>diff --git a/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs b/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.csindex b3db57b6d9..d5c3a6aec5 100644--- a/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs+++ b/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs@@ -1,4 +1,3 @@-#nullable enable#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Model/Plugins/PluginInfo.cs b/MediaBrowser.Model/Plugins/PluginInfo.csindex 25216610d4..8eb90bdb05 100644--- a/MediaBrowser.Model/Plugins/PluginInfo.cs+++ b/MediaBrowser.Model/Plugins/PluginInfo.cs@@ -1,5 +1,3 @@-#nullable enable-using System;namespace MediaBrowser.Model.Pluginsdiff --git a/MediaBrowser.Model/Plugins/PluginPageInfo.cs b/MediaBrowser.Model/Plugins/PluginPageInfo.csindex 85c0aa204b..f4d83c28b1 100644--- a/MediaBrowser.Model/Plugins/PluginPageInfo.cs+++ b/MediaBrowser.Model/Plugins/PluginPageInfo.cs@@ -1,5 +1,3 @@-#nullable enable-namespace MediaBrowser.Model.Plugins{/// <summary>diff --git a/MediaBrowser.Model/Updates/VersionInfo.cs b/MediaBrowser.Model/Updates/VersionInfo.csindex 209092265e..03a540dde2 100644--- a/MediaBrowser.Model/Updates/VersionInfo.cs+++ b/MediaBrowser.Model/Updates/VersionInfo.cs@@ -1,5 +1,3 @@-#nullable enable-using System.Text.Json.Serialization;using SysVersion = System.Version;