Fix warnings not covered by resharper locally.

This commit is contained in:
Dean Herbert
2017-03-09 16:07:34 +09:00
parent 1b532b0741
commit dad6060149
4 changed files with 4 additions and 5 deletions

View File

@ -41,7 +41,7 @@ namespace osu.Game.Online.API
set { authentication.Token = string.IsNullOrEmpty(value) ? null : OAuthToken.Parse(value); }
}
protected bool HasLogin => Token != null || (!string.IsNullOrEmpty(Username) && !string.IsNullOrEmpty(Password));
protected bool HasLogin => Token != null || !string.IsNullOrEmpty(Username) && !string.IsNullOrEmpty(Password);
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable (should dispose of this or at very least keep a reference).
private Thread thread;