From 3bf5acfa65a7f1cb92aaf7fb3bb6fdef186df5ad Mon Sep 17 00:00:00 2001 From: chylex Date: Tue, 26 Dec 2023 15:42:20 +0100 Subject: [PATCH] Fix trailing spaces Rider generates in code --- app/Desktop/Dialogs/Progress/ProgressItem.cs | 2 +- app/Desktop/Dialogs/TextBox/TextBoxDialog.axaml.cs | 2 +- app/Desktop/Dialogs/TextBox/TextBoxDialogModel.cs | 2 +- app/Desktop/Dialogs/TextBox/TextBoxItem.cs | 2 +- app/Server/Database/Export/Snowflake.cs | 2 +- app/Server/Database/Import/DiscordEmbedLegacyJson.cs | 2 +- app/Server/Database/Sqlite/ISchemaUpgradeCallbacks.cs | 2 +- app/Server/Download/DiscordCdn.cs | 2 +- app/Server/Service/Middlewares/ServerLoggingMiddleware.cs | 2 +- app/Utils/Logging/WindowsConsole.cs | 2 +- app/Utils/Tasks/TaskExtensions.cs | 2 +- app/Version.cs | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/Desktop/Dialogs/Progress/ProgressItem.cs b/app/Desktop/Dialogs/Progress/ProgressItem.cs index ee49db2..8ea0e85 100644 --- a/app/Desktop/Dialogs/Progress/ProgressItem.cs +++ b/app/Desktop/Dialogs/Progress/ProgressItem.cs @@ -1,6 +1,6 @@ using DHT.Utils.Models; -namespace DHT.Desktop.Dialogs.Progress; +namespace DHT.Desktop.Dialogs.Progress; sealed class ProgressItem : BaseModel { private bool isVisible = false; diff --git a/app/Desktop/Dialogs/TextBox/TextBoxDialog.axaml.cs b/app/Desktop/Dialogs/TextBox/TextBoxDialog.axaml.cs index 401d516..e1c5476 100644 --- a/app/Desktop/Dialogs/TextBox/TextBoxDialog.axaml.cs +++ b/app/Desktop/Dialogs/TextBox/TextBoxDialog.axaml.cs @@ -3,7 +3,7 @@ using Avalonia.Controls; using Avalonia.Interactivity; using DHT.Desktop.Dialogs.Message; -namespace DHT.Desktop.Dialogs.TextBox; +namespace DHT.Desktop.Dialogs.TextBox; [SuppressMessage("ReSharper", "MemberCanBeInternal")] public sealed partial class TextBoxDialog : Window { diff --git a/app/Desktop/Dialogs/TextBox/TextBoxDialogModel.cs b/app/Desktop/Dialogs/TextBox/TextBoxDialogModel.cs index 8d04838..cf2f109 100644 --- a/app/Desktop/Dialogs/TextBox/TextBoxDialogModel.cs +++ b/app/Desktop/Dialogs/TextBox/TextBoxDialogModel.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using System.Linq; using DHT.Utils.Models; -namespace DHT.Desktop.Dialogs.TextBox; +namespace DHT.Desktop.Dialogs.TextBox; class TextBoxDialogModel : BaseModel { public string Title { get; init; } = ""; diff --git a/app/Desktop/Dialogs/TextBox/TextBoxItem.cs b/app/Desktop/Dialogs/TextBox/TextBoxItem.cs index ca2a6c6..3c05cb2 100644 --- a/app/Desktop/Dialogs/TextBox/TextBoxItem.cs +++ b/app/Desktop/Dialogs/TextBox/TextBoxItem.cs @@ -3,7 +3,7 @@ using System.Collections; using System.ComponentModel; using DHT.Utils.Models; -namespace DHT.Desktop.Dialogs.TextBox; +namespace DHT.Desktop.Dialogs.TextBox; class TextBoxItem : BaseModel, INotifyDataErrorInfo { public string Title { get; init; } = ""; diff --git a/app/Server/Database/Export/Snowflake.cs b/app/Server/Database/Export/Snowflake.cs index 17ffc62..91146ed 100644 --- a/app/Server/Database/Export/Snowflake.cs +++ b/app/Server/Database/Export/Snowflake.cs @@ -1,3 +1,3 @@ -namespace DHT.Server.Database.Export; +namespace DHT.Server.Database.Export; readonly record struct Snowflake(ulong Id); diff --git a/app/Server/Database/Import/DiscordEmbedLegacyJson.cs b/app/Server/Database/Import/DiscordEmbedLegacyJson.cs index bc0dba3..11a3c8b 100644 --- a/app/Server/Database/Import/DiscordEmbedLegacyJson.cs +++ b/app/Server/Database/Import/DiscordEmbedLegacyJson.cs @@ -1,6 +1,6 @@ using System.Text.Json.Serialization; -namespace DHT.Server.Database.Import; +namespace DHT.Server.Database.Import; sealed class DiscordEmbedLegacyJson { public required string Url { get; init; } diff --git a/app/Server/Database/Sqlite/ISchemaUpgradeCallbacks.cs b/app/Server/Database/Sqlite/ISchemaUpgradeCallbacks.cs index 3ae7985..e7664c5 100644 --- a/app/Server/Database/Sqlite/ISchemaUpgradeCallbacks.cs +++ b/app/Server/Database/Sqlite/ISchemaUpgradeCallbacks.cs @@ -1,7 +1,7 @@ using System; using System.Threading.Tasks; -namespace DHT.Server.Database.Sqlite; +namespace DHT.Server.Database.Sqlite; public interface ISchemaUpgradeCallbacks { Task CanUpgrade(); diff --git a/app/Server/Download/DiscordCdn.cs b/app/Server/Download/DiscordCdn.cs index a4a58d1..1f7d052 100644 --- a/app/Server/Download/DiscordCdn.cs +++ b/app/Server/Download/DiscordCdn.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Frozen; -namespace DHT.Server.Download; +namespace DHT.Server.Download; static class DiscordCdn { private static FrozenSet CdnHosts { get; } = new [] { diff --git a/app/Server/Service/Middlewares/ServerLoggingMiddleware.cs b/app/Server/Service/Middlewares/ServerLoggingMiddleware.cs index 99e1f79..1dbe349 100644 --- a/app/Server/Service/Middlewares/ServerLoggingMiddleware.cs +++ b/app/Server/Service/Middlewares/ServerLoggingMiddleware.cs @@ -4,7 +4,7 @@ using DHT.Utils.Logging; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; -namespace DHT.Server.Service.Middlewares; +namespace DHT.Server.Service.Middlewares; sealed class ServerLoggingMiddleware { private static readonly Log Log = Log.ForType(); diff --git a/app/Utils/Logging/WindowsConsole.cs b/app/Utils/Logging/WindowsConsole.cs index 8c7fee3..60119a7 100644 --- a/app/Utils/Logging/WindowsConsole.cs +++ b/app/Utils/Logging/WindowsConsole.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; -namespace DHT.Utils.Logging; +namespace DHT.Utils.Logging; [SupportedOSPlatform("windows")] public static partial class WindowsConsole { diff --git a/app/Utils/Tasks/TaskExtensions.cs b/app/Utils/Tasks/TaskExtensions.cs index b3a9b4b..de58712 100644 --- a/app/Utils/Tasks/TaskExtensions.cs +++ b/app/Utils/Tasks/TaskExtensions.cs @@ -1,7 +1,7 @@ using System; using System.Threading.Tasks; -namespace DHT.Utils.Tasks; +namespace DHT.Utils.Tasks; public static class TaskExtensions { public static async Task WaitIgnoringCancellation(this Task task) { diff --git a/app/Version.cs b/app/Version.cs index bbe4a59..6dc345f 100644 --- a/app/Version.cs +++ b/app/Version.cs @@ -5,7 +5,7 @@ using DHT.Utils; [assembly: AssemblyFileVersion(Version.Tag)] [assembly: AssemblyInformationalVersion(Version.Tag)] -namespace DHT.Utils; +namespace DHT.Utils; static class Version { public const string Tag = "39.1.0.0";