Apply suggestions from code review

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
pull/2136/head
Bond-009 5 years ago committed by GitHub
parent 2ef4ffd698
commit 137db45fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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[]

@ -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;

Loading…
Cancel
Save