From: Dannes W. <da...@ex...> - 2011-05-12 21:09:26
|
On 12 May 2011, at 23:04 , Patrick Bosek wrote: > Resource resource = collection.getResource(doc); > if (resource == null) { > logger.error("Resource " + doc + " not found"); > throw new XPathException(this, "Resource " + doc + " not found"); > } > collection.removeResource(resource); > > > Am I missing something? the actual work is done elsewhere.... anyway before committing code, I'd 'appreciate' if you have your code changed reviewed, e.g. by adam or dmitiry thx Dannes -- Dannes Wessels eXist-db Open Source Native XML Database e: da...@ex... w: http://www.exist-db.org |