paulirwin commented on code in PR #982:
URL: https://github.com/apache/lucenenet/pull/982#discussion_r1810895673


##########
src/Lucene.Net/Support/Collections.cs:
##########
@@ -213,6 +213,21 @@ public static string ToString(object obj, CultureInfo 
culture)
             return ToString(obj);
         }
 
+        public static ReadOnlyList<T> AsReadOnly<T>(IList<T> list)
+        {
+            return new ReadOnlyList<T>(list);
+        }
+
+        public static ReadOnlyCollection<T> AsReadOnly<T>(ICollection<T> 
collection)

Review Comment:
   Removed unused method. Split items #984 and #985.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to