Commit d7858f6
committed
WIP use Autocloseable in maps
Compiles with an error:
AbstractReadOnlyMap.java:32: warning: [try] auto-closeable resource AbstractReadOnlyMap<K,V> has a member method close() that could throw InterruptedException
public abstract class AbstractReadOnlyMap<K, V> implements Map<K, V>, AutoCloseable {
^
where K,V are type-variables:
K extends Object declared in class AbstractReadOnlyMap
V extends Object declared in class AbstractReadOnlyMap
"1 parent 04de1f3 commit d7858f6
File tree
1 file changed
+1
-2
lines changed- metamorph-api/src/main/java/org/metafacture/metamorph/api/helpers
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
0 commit comments