Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 91889f0

Browse files
committed
cleanup
1 parent dc02d6d commit 91889f0

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

Interop/Updater/UpdateCheck.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private static async Task CheckInternal()
4747
info.ExceptionMessage = e.Message;
4848
}
4949

50-
lock (Program.UpdateStatus) //since multiple checks can occur, we'll wont override another ones...
50+
lock (Program.UpdateStatus)
5151
{
5252
if (Program.UpdateStatus.WriteAble)
5353
{
@@ -56,13 +56,6 @@ private static async Task CheckInternal()
5656
}
5757
}
5858

59-
60-
/*
61-
* 0 -> Major
62-
* 1 -> Minor
63-
* 2 -> Build
64-
* 3 -> Revision
65-
*/
6659
private static bool IsUpToDate(Version currentVer, Version latestVer)
6760
{
6861
return currentVer.CompareTo(latestVer) >= 0;

UI/MainWindow.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
using Xceed.Wpf.AvalonDock;
1717
using Xceed.Wpf.AvalonDock.Layout;
1818

19-
// using SPCode.Interop.Updater; //not delete! ?
20-
2119
namespace SPCode.UI
2220
{
2321
/// <summary>
@@ -108,7 +106,6 @@ public MainWindow(SplashScreen sc)
108106
}
109107

110108
sc.Close(TimeSpan.FromMilliseconds(500.0));
111-
// StartBackgroundParserThread();
112109
FullyInitialized = true;
113110
}
114111

0 commit comments

Comments
 (0)