Skip to content

Commit

Permalink
Simplify New Expression
Browse files Browse the repository at this point in the history
  • Loading branch information
k3ldar committed Dec 25, 2023
1 parent a4da6cd commit 6bab752
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GSendCS/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal static class Program
{
static int Main()
{
ConsoleProcessorFactory factory = new ConsoleProcessorFactory();
ConsoleProcessorFactory factory = new();
Environment.SetEnvironmentVariable(GSendShared.Constants.GSendPathEnvVar,
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData),
GSendShared.Constants.GSendProAppFolder));
Expand Down
2 changes: 1 addition & 1 deletion src/GSendEditor/FrmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public FrmMain(IGSendContext gSendContext)

UpdateShortcutKeyValues(_shortcuts);
UpdateOnlineStatus(false, GSend.Language.Resources.ServerNoConnection);
ServerValidationThread validationThread = new ServerValidationThread(this);
ServerValidationThread validationThread = new(this);
ThreadManager.ThreadStart(validationThread, "Server Validation Thread", ThreadPriority.BelowNormal, true);
_validationThread = validationThread;
}
Expand Down

0 comments on commit 6bab752

Please sign in to comment.