| 80 | } |
| 81 | |
| 82 | class SyncBox { |
| 83 | |
| 84 | Box box; |
| 85 | |
| 86 | SyncBox(Box box) { |
| 87 | this.box = box; |
| 88 | } |
| 89 | |
| 90 | Object get() { |
| 91 | synchronized(this) { |
| 92 | Box b = this.box; |
| 93 | return b.get(); |
| 94 | } |
| 95 | } |
| 96 | } |
nothing calls this directly
no outgoing calls
no test coverage detected