aboutsummaryrefslogtreecommitdiff
path: root/common/src/at/gv/egovernment
diff options
context:
space:
mode:
authorrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-10-20 14:46:06 +0000
committerrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-10-20 14:46:06 +0000
commitb1f795dce3d7a371e018c4933423ccd00ef74eab (patch)
tree2a476d26e9e49a34b1764731c8358d65a5b2664a /common/src/at/gv/egovernment
parentfcad21376fb532aec30dc6a1cf1b7fe55157f4fd (diff)
downloadmoa-id-spss-b1f795dce3d7a371e018c4933423ccd00ef74eab.tar.gz
moa-id-spss-b1f795dce3d7a371e018c4933423ccd00ef74eab.tar.bz2
moa-id-spss-b1f795dce3d7a371e018c4933423ccd00ef74eab.zip
added lockPool method
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@16 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/src/at/gv/egovernment')
-rw-r--r--common/src/at/gv/egovernment/moa/util/DOMUtils.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/src/at/gv/egovernment/moa/util/DOMUtils.java b/common/src/at/gv/egovernment/moa/util/DOMUtils.java
index 6da99037e..8e6394445 100644
--- a/common/src/at/gv/egovernment/moa/util/DOMUtils.java
+++ b/common/src/at/gv/egovernment/moa/util/DOMUtils.java
@@ -89,6 +89,10 @@ public class DOMUtils {
private static SymbolTable symbolTable = new SymbolTable(BIG_PRIME);
/** Xerces schema grammar pool. */
private static XMLGrammarPool grammarPool = new XMLGrammarPoolImpl();
+
+ static {
+ grammarPool.lockPool();
+ }
/**
* Preparse a schema and add it to the schema pool.