498499500501502503504505506507508509510511
_beginResources.clear(); while (_closeResources.size() > 0) { try { CloseResource resource; resource = _closeResources.remove(_closeResources.size() - 1); resource.close(); } catch (Throwable e) { log.log(Level.WARNING, e.toString(), e); } }