Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Oct 22, 2024
1 parent 46a72d3 commit 231084d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Lucene.Net/Support/Collections.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@ public static ReadOnlyList<T> AsReadOnly<T>(IList<T> list)
return new ReadOnlyList<T>(list);
}

public static ReadOnlyCollection<T> AsReadOnly<T>(ICollection<T> collection)
{
return new ReadOnlyCollection<T>(collection);
}

public static ReadOnlyDictionary<TKey, TValue> AsReadOnly<TKey, TValue>(IDictionary<TKey, TValue> dictionary)
{
return new ReadOnlyDictionary<TKey, TValue>(dictionary);
Expand Down

0 comments on commit 231084d

Please sign in to comment.