Skip to content

Commit

Permalink
Make private field readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieKimani1 committed Sep 23, 2024
1 parent 4cbd66d commit 4b4d31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.OpenApi.Services
/// </summary>
public class OpenApiWorkspace
{
private Dictionary<Uri, OpenApiDocument> _documents = new();
private readonly Dictionary<Uri, OpenApiDocument> _documents = new();
private readonly Dictionary<string, Uri> _documentsIdRegistry = new();
private readonly Dictionary<Uri, Stream> _artifactsRegistry = new();
private readonly Dictionary<Uri, IOpenApiReferenceable> _IOpenApiReferenceableRegistry = new();
Expand Down

0 comments on commit 4b4d31d

Please sign in to comment.