Преглед изворни кода

Apply suggestions from code review

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
Bond-009 пре 5 година
родитељ
комит
137db45fc7
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 1 1
      MediaBrowser.Common/Hex.cs
  2. 3 3
      MediaBrowser.Common/Plugins/BasePlugin.cs

+ 1 - 1
MediaBrowser.Common/Hex.cs

@@ -14,7 +14,7 @@ namespace MediaBrowser.Common
         internal const int LastHexSymbol = 0x66; // 102: f
         internal const int LastHexSymbol = 0x66; // 102: f
 
 
         /// <summary>
         /// <summary>
-        /// Gets an map from an ASCII char to its hex value shifted,
+        /// Gets a map from an ASCII char to its hex value shifted,
         /// e.g. <c>b</c> -> 11. 0xFF means it's not a hex symbol.
         /// e.g. <c>b</c> -> 11. 0xFF means it's not a hex symbol.
         /// </summary>
         /// </summary>
         internal static ReadOnlySpan<byte> HexLookup => new byte[]
         internal static ReadOnlySpan<byte> HexLookup => new byte[]

+ 3 - 3
MediaBrowser.Common/Plugins/BasePlugin.cs

@@ -96,19 +96,19 @@ namespace MediaBrowser.Common.Plugins
         where TConfigurationType : BasePluginConfiguration
         where TConfigurationType : BasePluginConfiguration
     {
     {
         /// <summary>
         /// <summary>
-        /// The _configuration sync lock.
+        /// The configuration sync lock.
         /// </summary>
         /// </summary>
         private readonly object _configurationSyncLock = new object();
         private readonly object _configurationSyncLock = new object();
 
 
         /// <summary>
         /// <summary>
-        /// The _save lock.
+        /// The save lock.
         /// </summary>
         /// </summary>
         private readonly object _configurationSaveLock = new object();
         private readonly object _configurationSaveLock = new object();
 
 
         private Action<string> _directoryCreateFn;
         private Action<string> _directoryCreateFn;
 
 
         /// <summary>
         /// <summary>
-        /// The _configuration.
+        /// The configuration.
         /// </summary>
         /// </summary>
         private TConfigurationType _configuration;
         private TConfigurationType _configuration;