public boolean close() { if (this.freed.compareAndSet(false, true)) { synchronized (ResourceLeakDetector.this.head) { ResourceLeakDetector.access$410(ResourceLeakDetector.this); this.prev.next = this.next; this.next.prev = this.prev; this.prev = null; this.next = null; } return true; } return false; }