Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
servicemix-shared-2009.01
-
None
Description
While the parse() methods aren't necessarily thread-safe, it's OK to reuse the same instance for creating Document instances (as e.g. CXF already does). The DomUtil class should have a cached instance for this purpose to avoid the unnecessary object creation overhead.