()
| 209 | |
| 210 | // if this or any of its children are locked |
| 211 | boolean isLocked() { |
| 212 | if (myLock != null) return true; |
| 213 | for (Node node : children.values()) if (node.isLocked()) return true; |
| 214 | return false; |
| 215 | } |
| 216 | |
| 217 | boolean unlock(LockImpl lockObject) { |
| 218 | if (--refCount > 0) { |
no test coverage detected