Skip to content

Commit

Permalink
minor code formatting + cleanup stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Nov 6, 2024
1 parent 4a23b62 commit 09b31f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions updater-test/utility/Verificator_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ private static string Download(string url)
/// <summary>
/// Downloads a signed MSI file that will be used during the tests.
/// </summary>
/// <param name="testContext"></param>
/// <param name="_"></param>
[ClassInitialize()]
public static void DownloadExampleFile(TestContext testContext)
public static void DownloadExampleFile(TestContext _)
{
downloadFileLocation = Download("https://download.documentfoundation.org/libreoffice/stable/24.8.2/win/x86_64/LibreOffice_24.8.2_Win_x86-64_helppack_de.msi");
}
Expand Down
2 changes: 1 addition & 1 deletion updater/data/DetectedSoftware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public DetectedSoftware(string dispName = null, string dispVersion = null,
/// Checks whether the entry contains some basic information.
/// </summary>
/// <returns>Returns true, if at least the name of the software is set.</returns>
public bool containsInformation()
public readonly bool containsInformation()
{
return !string.IsNullOrWhiteSpace(displayName);
}
Expand Down
2 changes: 1 addition & 1 deletion updater/software/Graphviz.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace updater.software
/// <summary>
/// Handles updates for Graphviz.
/// </summary>
public class Graphviz: NoPreUpdateProcessSoftware
public class Graphviz : NoPreUpdateProcessSoftware
{
/// <summary>
/// NLog.Logger for Graphviz class
Expand Down
2 changes: 1 addition & 1 deletion updater/software/InnoSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace updater.software
/// <summary>
/// Handles update of Inno Setup (Unicode version).
/// </summary>
public class InnoSetup: AbstractSoftware
public class InnoSetup : AbstractSoftware
{
/// <summary>
/// NLog.Logger for InnoSetup class
Expand Down
2 changes: 1 addition & 1 deletion updater/software/Stellarium.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace updater.software
/// <summary>
/// Handles updates of Stellarium.
/// </summary>
public class Stellarium: NoPreUpdateProcessSoftware
public class Stellarium : NoPreUpdateProcessSoftware
{
/// <summary>
/// NLog.Logger for Stellarium class
Expand Down

0 comments on commit 09b31f0

Please sign in to comment.