Skip to content

Commit 60c72a9

Browse files
committed
Fixed non breaking change warnings
1 parent 0a20be2 commit 60c72a9

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Blish HUD/ApplicationSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace Blish_HUD {
1010
[Help("Optional launch arguments that modify overlay behavior.")]
1111
public class ApplicationSettings : BaseCliArguments {
12-
public static ApplicationSettings Instance { get; }
12+
public static ApplicationSettings Instance { get; private set; }
1313

1414
public bool CliExitEarly => this.UserFacingExceptionThrown || this.HelpInvoked;
1515

Blish HUD/Controls/Panel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ to work correctly */
297297

298298
// TODO Temporary solution to avoid memory leak due to Adhesive bindings before
299299
// This will be replaced when the Scrollbar is converted to a stateless overlay
300-
private void UpdatePanelScrollbarOnOwnPropertyChanged(object? sender, PropertyChangedEventArgs e) {
300+
private void UpdatePanelScrollbarOnOwnPropertyChanged(object sender, PropertyChangedEventArgs e) {
301301
switch (e.PropertyName) {
302302
case "Parent":
303303
_panelScrollbar.Parent = this.Parent;

Blish HUD/DebugHelper/Services/InputManagerService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ internal class InputManagerService : IDebugService, IDisposable {
1818
private readonly TTimer timeoutTimer = new TTimer(PING_TIMEOUT_BEFORE_PAUSING_HOOKS) { AutoReset = false };
1919
private bool stopRequested = false;
2020
private bool hookRequested = false;
21-
private Thread? thread;
21+
private Thread thread;
2222

2323
public InputManagerService(IMessageService messageService, MouseHookService mouseHookService, KeyboardHookService keyboardHookService) {
2424
this.messageService = messageService;

Blish HUD/DebugHelper/Services/StreamMessageService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class StreamMessageService : IMessageService, IDisposable {
1616
private readonly Stream inStream;
1717
private readonly Stream outStream;
1818
private readonly object outLock = new object();
19-
private Thread? thread;
19+
private Thread thread;
2020
private bool stopRequested = false;
2121
private long lastMessageId = 0;
2222

Blish HUD/GameServices/ArcDpsServiceV2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace Blish_HUD {
2121

2222
public class ArcDpsServiceV2 : GameService {
23-
private static readonly Logger Logger = Logger.GetLogger<ArcDpsServiceV2>();
23+
private static readonly Logger _logger = Logger.GetLogger<ArcDpsServiceV2>();
2424

2525
/// <summary>
2626
/// The timespan after which ArcDPS is treated as not responding.
@@ -177,7 +177,7 @@ protected override void Update(GameTime gameTime) {
177177

178178
private void SocketErrorHandler(object sender, SocketError socketError) {
179179
// Socketlistener stops by itself.
180-
Logger.Error("Encountered socket error: {0}", socketError.ToString());
180+
_logger.Error("Encountered socket error: {0}", socketError.ToString());
181181

182182
this.Error?.Invoke(this, socketError);
183183
}

0 commit comments

Comments
 (0)