Drop deprecations and tighten up left ones.

This commit is contained in:
Ilya Gorbunov
2015-11-07 15:26:54 +03:00
parent 5b484f1e05
commit be9b14545f
11 changed files with 29 additions and 77 deletions
@@ -44,9 +44,8 @@ class MapJVMTest {
@test fun getOrPutFailsOnConcurrentMap() {
val map = ConcurrentHashMap<String, Int>()
assertFails {
map.getOrPut("x") { 1 }
}
// now this is an error
// map.getOrPut("x") { 1 }
expect(1) {
map.concurrentGetOrPut("x") { 1 }
}