Linting: Remove unnecessary privates

This commit is contained in:
Dominion
2023-04-02 16:33:11 -04:00
parent c9f02a039e
commit 6bffd99712
6 changed files with 6 additions and 6 deletions
@@ -385,6 +385,6 @@ namespace Tgstation.Server.Host.Components
/// <summary>
/// Test that the <see cref="repositoryFactory"/> is functional.
/// </summary>
private void CheckSystemCompatibility() => repositoryFactory.CreateInMemory();
void CheckSystemCompatibility() => repositoryFactory.CreateInMemory();
}
}
@@ -538,7 +538,7 @@ namespace Tgstation.Server.Host.Components
/// <summary>
/// Check we have a valid system identity.
/// </summary>
private void CheckSystemCompatibility()
void CheckSystemCompatibility()
{
using (var systemIdentity = systemIdentityFactory.GetCurrent())
{
@@ -13,7 +13,7 @@
/// <summary>
/// The default value for <see cref="HighPriorityLiveDreamDaemon"/>.
/// </summary>
private const bool DefaultHighPriorityLiveDreamDaemon = true;
const bool DefaultHighPriorityLiveDreamDaemon = true;
/// <summary>
/// If the public DreamDaemon instances are set to be above normal priority processes.
@@ -385,7 +385,7 @@ namespace Tgstation.Server.Host.Controllers
/// <param name="model">The <see cref="ChatBotApiBase"/> to validate.</param>
/// <param name="forCreation">If the <paramref name="model"/> is being created.</param>
/// <returns>An <see cref="IActionResult"/> to respond with or <see langword="null"/>.</returns>
private IActionResult StandardModelChecks(ChatBotApiBase model, bool forCreation)
IActionResult StandardModelChecks(ChatBotApiBase model, bool forCreation)
{
if (model.ReconnectionInterval == 0)
throw new InvalidOperationException("RecconnectionInterval cannot be zero!");
@@ -176,7 +176,7 @@ namespace Tgstation.Server.Host.Controllers
/// </summary>
/// <param name="jobResponse">The <see cref="JobResponse"/> to augment.</param>
/// <returns>A <see cref="Task"/> representing the running operation.</returns>
private Task AddJobProgressResponseTransformer(JobResponse jobResponse)
Task AddJobProgressResponseTransformer(JobResponse jobResponse)
{
jobManager.SetJobProgress(jobResponse);
return Task.CompletedTask;
@@ -21,7 +21,7 @@ namespace Tgstation.Server.Host.Core
/// Initializes a new instance of the <see cref="OpenApiEnumVarNamesExtension"/> class.
/// </summary>
/// <param name="enumType">The value of <see cref="enumType"/>,.</param>
private OpenApiEnumVarNamesExtension(Type enumType)
OpenApiEnumVarNamesExtension(Type enumType)
{
this.enumType = enumType ?? throw new ArgumentNullException(nameof(enumType));
}