浏览代码

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
 
         /// <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.
         /// </summary>
         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
     {
         /// <summary>
-        /// The _configuration sync lock.
+        /// The configuration sync lock.
         /// </summary>
         private readonly object _configurationSyncLock = new object();
 
         /// <summary>
-        /// The _save lock.
+        /// The save lock.
         /// </summary>
         private readonly object _configurationSaveLock = new object();
 
         private Action<string> _directoryCreateFn;
 
         /// <summary>
-        /// The _configuration.
+        /// The configuration.
         /// </summary>
         private TConfigurationType _configuration;