Contains accepts a null item now

master
Robinson 2023-08-10 19:03:24 -06:00
parent f1700b15d6
commit a8db6b42e4
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ class ConcurrentIterator<T: Any> {
* called from within SYNCHRONIZE
*/
@Synchronized
fun contains(entry: T): Boolean {
return entries.contains(entry)
fun contains(entry: T?): Boolean {
return entries.containsKey(entry)
}
/**