Skip to content

Commit

Permalink
[SQ] improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
samatstariongroup committed Jan 19, 2025
1 parent e788dd0 commit c0c1af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ReqIFSharp.Extensions/Services/ReqIFLoaderService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class ReqIFLoaderService : IReqIFLoaderService, IDisposable
/// <summary>
/// Tracks whether the object has been disposed
/// </summary>
private bool isDisposed = false;
private bool isDisposed;

/// <summary>
/// The (injected) <see cref="IReqIFDeSerializer"/>
Expand Down Expand Up @@ -261,7 +261,6 @@ private async Task<string> QueryDataInternalAsync(ExternalObject externalObject,
/// </summary>
public void Reset()
{
this.sourceStream?.Dispose();
this.sourceStream = null;
this.ReqIFData = null;
this.externalObjectDataCache.Clear();
Expand Down
2 changes: 1 addition & 1 deletion ReqIFSharp/AttributeValue/ExternalObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public ExternalObject(AttributeValueXHTML attributeValueXhtml)
/// <returns></returns>
public bool IsDataLocal()
{
return !this.Uri.StartsWith("http");
return !this.Uri.StartsWith("http", StringComparison.OrdinalIgnoreCase);
}

/// <summary>
Expand Down

0 comments on commit c0c1af3

Please sign in to comment.