Skip to content

Commit

Permalink
code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanstapel committed Mar 14, 2024
1 parent 4c9f227 commit 1ae651d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BrickOwlSharp.Client/BrickOwlClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ private static string AppendApiKey(string url)

private static string AppendOptionalParam(string url, string key, object value)
{
if (value == null)
if (value is null)
{
return url;
}
Expand Down
2 changes: 1 addition & 1 deletion BrickOwlSharp.Client/BrickOwlClientConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static BrickOwlClientConfiguration Instance
{
get
{
if (BrickOwlClientConfiguration._instance == null)
if (BrickOwlClientConfiguration._instance is null)
{
BrickOwlClientConfiguration._instance = new BrickOwlClientConfiguration();
}
Expand Down
2 changes: 1 addition & 1 deletion BrickOwlSharp.Client/BrickOwlClientFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static IBrickOwlClient Build(HttpClient httpClient = null, IBrickOwlReque
HttpClient _httpClient = null;
bool _disposeHttpClient = false;

if (httpClient == null)
if (httpClient is null)
{
_httpClient = new HttpClient();
_disposeHttpClient = true;
Expand Down

0 comments on commit 1ae651d

Please sign in to comment.