SWS-104 and SWS-162

This commit is contained in:
Arjen Poutsma
2007-09-17 12:39:49 +00:00
parent 4f3ca4be9e
commit fcdcf61260
5 changed files with 188 additions and 21 deletions

View File

@@ -41,11 +41,7 @@ public abstract class TransformerObjectSupport {
/** Logger available to subclasses. */
protected final Log logger = LogFactory.getLog(getClass());
private static TransformerFactory transformerFactory;
static {
transformerFactory = TransformerFactory.newInstance();
}
private static TransformerFactory transformerFactory = TransformerFactory.newInstance();
/** Returns the <code>TransformerFactory</code>. */
protected TransformerFactory getTransformerFactory() {