Revert performance tuning done via Bug 61350 as it lead to problems when running multi-threaded large regression tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806077 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7b7c8e89d
commit
34f35b2d0e
@ -71,7 +71,9 @@ public class POIXMLTypeLoader {
|
|||||||
// DEFAULT_XML_OPTIONS.setLoadEntityBytesLimit(4096);
|
// DEFAULT_XML_OPTIONS.setLoadEntityBytesLimit(4096);
|
||||||
|
|
||||||
// POI is not thread-safe - so we can switch to unsynchronized xmlbeans mode - see #61350
|
// POI is not thread-safe - so we can switch to unsynchronized xmlbeans mode - see #61350
|
||||||
DEFAULT_XML_OPTIONS.setUnsynchronized();
|
// Update: disabled again for now as it caused strange NPEs and other problems
|
||||||
|
// when reading properties in separate workbooks in multiple threads
|
||||||
|
// DEFAULT_XML_OPTIONS.setUnsynchronized();
|
||||||
|
|
||||||
Map<String, String> map = new HashMap<String, String>();
|
Map<String, String> map = new HashMap<String, String>();
|
||||||
map.put("http://schemas.openxmlformats.org/drawingml/2006/main", "a");
|
map.put("http://schemas.openxmlformats.org/drawingml/2006/main", "a");
|
||||||
|
Loading…
Reference in New Issue
Block a user