Skip to content

Commit

Permalink
add parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Jul 26, 2021
1 parent 02882a4 commit 6998410
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ConcurrentWeakIdentityHashMap[K, V] extends ConcurrentMap[K, V] {

def clear(): Unit = {
purgeKeys()
map.clear
map.clear()
}

def containsKey(key: Any): Boolean = {
Expand Down Expand Up @@ -174,7 +174,7 @@ class ConcurrentWeakIdentityHashMap[K, V] extends ConcurrentMap[K, V] {
next
}

override def remove = throw new UnsupportedOperationException()
override def remove() = throw new UnsupportedOperationException()

def extract(u: U): T
}
Expand Down

0 comments on commit 6998410

Please sign in to comment.