Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
jupster committed Oct 13, 2024
1 parent bff6ca8 commit 0261dde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions FASTER/FASTER.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
Expand Down Expand Up @@ -58,7 +57,6 @@
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>

<ItemGroup>
<None Remove="Resources\FASTER.ico" />
<None Remove="Resources\FasterSplash.png" />
Expand Down
4 changes: 2 additions & 2 deletions FASTER/Models/ServerCfg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ public string ServerCfgContent
RaisePropertyChanged("ServerCfgContent");
}
}

public ServerCfg()
{
if(string.IsNullOrWhiteSpace(serverCfgContent))
Expand Down Expand Up @@ -836,7 +836,7 @@ public string AdvancedOptionsContent
}
}

public Advancedoptions()
public AdvancedOptions()
{
if(string.IsNullOrWhiteSpace(AdvancedOptionsContent))
{ AdvancedOptionsContent = ProcessFile(); }

Check failure on line 842 in FASTER/Models/ServerCfg.cs

View workflow job for this annotation

GitHub Actions / Analyze with CodeQL (csharp)

An object reference is required for the non-static field, method, or property 'ServerCfg.ProcessFile()'

Check failure on line 842 in FASTER/Models/ServerCfg.cs

View workflow job for this annotation

GitHub Actions / Analyze with CodeQL (csharp)

An object reference is required for the non-static field, method, or property 'ServerCfg.ProcessFile()'
Expand Down

0 comments on commit 0261dde

Please sign in to comment.