Skip to content

Commit

Permalink
using interface IReadOnlyDictionary instead of a IDictionary in DataM…
Browse files Browse the repository at this point in the history
…odel/ILM/AndOperator.cs and DataModel/Replication/AndOperator.cs
  • Loading branch information
Алексей Даниленко М. committed Sep 2, 2024
1 parent dd98e3f commit 5274a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Minio/DataModel/ILM/AndOperator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public AndOperator(string prefix, IList<Tag> tag)
Tags = new Collection<Tag>(tag);
}

public AndOperator(string prefix, IDictionary<string, string> tags)
public AndOperator(string prefix, IReadOnlyDictionary<string, string> tags)
{
Prefix = prefix;
if (tags is null || tags.Count == 0)
Expand Down
2 changes: 1 addition & 1 deletion Minio/DataModel/Replication/AndOperator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public AndOperator(string prefix, ICollection<Tag> tag)
Tags = tag;
}

public AndOperator(string prefix, IDictionary<string, string> tags)
public AndOperator(string prefix, IReadOnlyDictionary<string, string> tags)
{
if (tags is null) throw new ArgumentNullException(nameof(tags));

Expand Down

0 comments on commit 5274a26

Please sign in to comment.