mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Apply suggestions from code review
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
This commit is contained in:
parent
2ef4ffd698
commit
137db45fc7
@ -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…
x
Reference in New Issue
Block a user