public void close() { try { _del.close(); } catch (RuntimeException re) { throw translate(re); } }
public void close() { try { _del.close(); } catch (RuntimeException re) { throw translate(re); } }
public void close() { try { _del.close(); } catch (RuntimeException re) { throw translate(re); } }
public void close() { try { _del.close(); } catch (RuntimeException re) { throw translate(re); } }
public void close() { try { _del.close(); } catch (RuntimeException re) { throw translate(re); } }
public void close(boolean remove) { if (isClosed()) return; _res.close(); if (!remove) return; lock(); try { // don't use standard _resultLists.remove method b/c relies on // collection equality, which relies on element equality, which // means we end up traversing entire result lists! for (Iterator itr = _resultLists.iterator(); itr.hasNext();) { if (itr.next() == this) { itr.remove(); break; } } } finally { unlock(); } }
public void close(boolean remove) { if (isClosed()) return; _res.close(); if (!remove) return; lock(); try { // don't use standard _resultLists.remove method b/c relies on // collection equality, which relies on element equality, which // means we end up traversing entire result lists! for (Iterator itr = _resultLists.iterator(); itr.hasNext();) { if (itr.next() == this) { itr.remove(); break; } } } finally { unlock(); } }
public void close(boolean remove) { if (isClosed()) return; _res.close(); if (!remove) return; lock(); try { // don't use standard _resultLists.remove method b/c relies on // collection equality, which relies on element equality, which // means we end up traversing entire result lists! for (Iterator itr = _resultLists.iterator(); itr.hasNext();) { if (itr.next() == this) { itr.remove(); break; } } } finally { unlock(); } }
public void close(boolean remove) { if (isClosed()) return; _res.close(); if (!remove) return; lock(); try { // don't use standard _resultLists.remove method b/c relies on // collection equality, which relies on element equality, which // means we end up traversing entire result lists! for (Iterator itr = _resultLists.iterator(); itr.hasNext();) { if (itr.next() == this) { itr.remove(); break; } } } finally { unlock(); } }
public void close(boolean remove) { if (isClosed()) return; _res.close(); if (!remove) return; lock(); try { // don't use standard _resultLists.remove method b/c relies on // collection equality, which relies on element equality, which // means we end up traversing entire result lists! for (Iterator itr = _resultLists.iterator(); itr.hasNext();) { if (itr.next() == this) { itr.remove(); break; } } } finally { unlock(); } }