mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
build fix for mid checkin change. doh!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4703 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -148,18 +148,18 @@ public class XMLUtil
|
|||||||
|
|
||||||
public static DocumentBuilder getDocumentBuilder(final boolean namespaceAware,
|
public static DocumentBuilder getDocumentBuilder(final boolean namespaceAware,
|
||||||
final boolean validating)
|
final boolean validating)
|
||||||
try
|
{
|
||||||
{
|
try
|
||||||
final DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
|
{
|
||||||
dbf.setNamespaceAware(namespaceAware);
|
final DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
|
||||||
dbf.setValidating(validating);
|
dbf.setNamespaceAware(namespaceAware);
|
||||||
XMLUtil.documentBuilder = dbf.newDocumentBuilder();
|
dbf.setValidating(validating);
|
||||||
}
|
return dbf.newDocumentBuilder();
|
||||||
catch (ParserConfigurationException pce)
|
}
|
||||||
{
|
catch (ParserConfigurationException pce)
|
||||||
LOGGER.error(pce);
|
{
|
||||||
}
|
LOGGER.error(pce);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
return XMLUtil.documentBuilder;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user